/* Override body background for race-insight page */
body {
  background-color: #000000;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 1) 70%);
  color: var(--text-color);
}

/* Sign-in button text style */
.btn-text-signin {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  font-family: var(--font-family);
}

.btn-text-signin:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

:root {
  --primary-color: #00d2ff;
  --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #0078ff 100%);
}

#race-insight-hero .tagline {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button overrides */
.btn-primary {
  background: var(--primary-gradient);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* --- Download & Donation Section Styles --- */
.download-section {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
}

.download-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-color);
}

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

.donation-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 80px;
}

.donation-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
}

.donation-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  /* Contrast text for bright blue bg */
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.custom-amount-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  width: 100px;
  text-align: center;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Platform Selection */
.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.platform-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-btn i {
  font-size: 1.1rem;
}

.platform-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
  color: var(--text-color);
}

.platform-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Action Buttons & Download Link */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn-download-only {
  background: none;
  border: none;
  color: var(--text-color-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s ease;
  padding: 0.5rem;
}

.btn-download-only:hover {
  color: var(--text-color);
}

/* Apply the gradient to the fixed background container so it covers the whole screen */
.background-animations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    circle at center,
    rgba(0, 210, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;
  /* Keep behind content */
  pointer-events: none;
}

/* Ensure the canvas is fully visible and not washed out */
#track-animation {
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  mix-blend-mode: screen;
}

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

.feature-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
}

.feature-icon-container i {
  font-size: 4rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.advantage-card:hover .feature-icon-container i {
  transform: scale(1.05);
}

.advantage-card h4 {
  padding: 0 1.5rem;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}

.advantage-card p {
  padding: 0 1.5rem 2rem 1.5rem;
  margin-bottom: 0;
  color: var(--text-color-secondary);
  font-size: 1rem;
}

/* Adjustments for the hero section to match blue theme */
#race-insight-hero .hero-badge {
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  align-self: center;
  /* Prevent stretching in flex column */
}

#race-insight-hero .tagline {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button overrides */
.btn-primary {
  background: var(--primary-gradient);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* --- Download & Donation Section Styles --- */
.download-section {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
}

.download-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-color);
}

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

.donation-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 80px;
}

.donation-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
}

.donation-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  /* Contrast text for bright blue bg */
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.custom-amount-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  width: 100px;
  text-align: center;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Platform Selection */
.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.platform-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-btn i {
  font-size: 1.1rem;
}

.platform-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
  color: var(--text-color);
}

.platform-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Action Buttons & Download Link */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn-download-only {
  background: none;
  border: none;
  color: var(--text-color-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s ease;
  padding: 0.5rem;
}

.btn-download-only:hover {
  color: var(--text-color);
}


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

.advantage-card h4 {
  padding: 0 1.5rem;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}

.advantage-card p {
  padding: 0 1.5rem 2rem 1.5rem;
  margin-bottom: 0;
  color: var(--text-color-secondary);
  font-size: 1rem;
}

.advantage-card .file-format-list {
  list-style-type: disc;
  padding: 0 1.5rem 0.5rem 2.5rem;
  margin-top: 0.5rem;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.advantage-card .file-format-list li {
  margin-bottom: 0.15rem;
}

/* Adjustments for the hero section to match blue theme */
#race-insight-hero .hero-badge {
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  align-self: center;
  /* Prevent stretching in flex column */
}

#race-insight-hero .tagline {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button overrides */
.btn-primary {
  background: var(--primary-gradient);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* --- Download & Donation Section Styles --- */
.download-section {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
}

.download-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-color);
}

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

.donation-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 80px;
}

.donation-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
}

.donation-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  /* Contrast text for bright blue bg */
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.custom-amount-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  width: 100px;
  text-align: center;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Platform Selection */
.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.platform-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-btn i {
  font-size: 1.1rem;
}

.platform-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
  color: var(--text-color);
}

.platform-btn.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Action Buttons & Download Link */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn-download-only {
  background: none;
  border: none;
  color: var(--text-color-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s ease;
  padding: 0.5rem;
}

.btn-download-only:hover {
  color: var(--text-color);
}


/* Ensure the hero section has a transparent background so the fixed gradient shows through */
#race-insight-hero {
  background: transparent !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* --- Upcoming Updates Section --- */
#upcoming-updates {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 210, 255, 0.05) 50%,
    transparent 100%
  );
}

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

.update-card {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.update-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.update-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: rgba(0, 210, 255, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.update-card h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.update-card p {
  color: var(--text-color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- File Input Styling --- */
.file-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-size: 0.9rem;
}

.file-input::-webkit-file-upload-button {
  background: var(--primary-color);
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-right: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

/* Note: :hover doesn't work on ::-webkit-file-upload-button pseudo-element */

/* --- Auth Modal Styling --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
-webkit-backdrop-filter: blur();-filter: blur();
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

/* Profile Modal Specific Styles */
.profile-modal-content {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.profile-modal-content .section-title {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

/* Image Modal Specific Styles */
.image-modal-content {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.image-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  box-sizing: border-box;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

#close-image-modal {
  z-index: 1001;
  background: rgba(0, 0, 0, 0.7);
-webkit-backdrop-filter: blur();-filter: blur();
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#close-image-modal:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: var(--primary-color);
}

/* Make image overlay clickable */
.card-image-wrapper {
  cursor: pointer !important;
}

.image-overlay {
  cursor: pointer !important;
  transition: opacity 0.3s ease;
}

.card-image-wrapper:hover .image-overlay {
  opacity: 0.5 !important;
}

@media (max-width: 768px) {
  .image-modal-content {
    max-width: 100vw;
    max-height: 100vh;
  }

  .image-modal-container {
    padding: 2rem 1rem;
  }

  .modal-image {
    max-height: 85vh;
  }
}

.profile-modal-content .profile-container {
  margin-top: 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-color);
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.modal-content p {
  text-align: center;
  color: var(--text-color-secondary);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

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

.btn-google {
  background: #fff;
  color: #333;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  width: 100%;
}

.btn-google:hover:not(:disabled) {
  background: #f0f0f0;
}

.btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #e0e0e0;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-color-secondary);
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  padding: 0 1rem;
}

#email-auth-form .form-group {
  margin-bottom: 1rem;
}

#email-auth-form input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
}

#email-auth-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Global Select/Option Styling for Dark Theme */
select option {
  background-color: #1a1a1a;
  color: white;
}

.auth-switch {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.auth-switch a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* --- Layout Fixes --- */

/* Hero Section Alignment */
#race-insight-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 80px; /* Account for header */
}

#race-insight-hero .section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

#race-insight-hero .hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#race-insight-hero .hero-logo {
  width: 275px;
  height: 275px;
  margin-bottom: 0;
  filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.2));
}

#race-insight-hero .hero-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

#race-insight-hero .hero-title {
  font-size: 5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

#race-insight-hero .tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  letter-spacing: 1px;
  text-align: center;
}

#race-insight-hero .hero-quote {
  margin: 0 auto 2rem auto;
  padding: 1.5rem 2rem;
  max-width: 700px;
  background: rgba(0, 210, 255, 0.08);
  border-left: 3px solid rgba(0, 210, 255, 0.5);
  border-radius: 8px;
  text-align: center;
  font-style: italic;
}

#race-insight-hero .hero-quote p {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  font-weight: 500;
}

#race-insight-hero .hero-quote cite {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 400;
}

#race-insight-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

#race-insight-hero .hero-description {
  font-size: 1.2rem;
  color: var(--text-color-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

#race-insight-hero .hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

#race-insight-hero .hero-badge {
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

/* --- Hero Slideshow Styles --- */
.slideshow-section {
  width: 100%;
  padding: 4rem 2rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: rgba(20, 20, 20, 0.4);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  perspective: 1200px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%) scale(0.95);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.8);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.slide.prev {
  transform: translateX(-100%) scale(0.95);
  z-index: 1;
}

.slide.next {
  transform: translateX(100%) scale(0.95);
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.98);
}

.slide.active .slide-image {
  transform: scale(1);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
-webkit-backdrop-filter: blur();-filter: blur();
}

.slideshow-nav:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
  left: 20px;
}

.slideshow-next {
  right: 20px;
}

.slideshow-nav i {
  font-size: 1.2rem;
}

.slideshow-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(0, 210, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(0, 210, 255, 0.5);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

@media (max-width: 768px) {
  .slideshow-section {
    padding: 2rem 1rem;
  }

  .slideshow-nav {
    width: 40px;
    height: 40px;
  }

  .slideshow-nav i {
    font-size: 1rem;
  }

  .slideshow-prev {
    left: 10px;
  }

  .slideshow-next {
    right: 10px;
  }

  .slideshow-indicators {
    bottom: 15px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .slide-image {
    padding: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #race-insight-hero .section-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  #race-insight-hero .hero-text-wrapper,
  #race-insight-hero .hero-content,
  #race-insight-hero .hero-actions,
  #race-insight-hero .hero-description {
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
  }

  #race-insight-hero .hero-title {
    font-size: 3.5rem;
  }

  #race-insight-hero .hero-quote {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  #race-insight-hero .hero-quote p {
    font-size: 1.1rem;
  }

  #race-insight-hero .hero-quote cite {
    font-size: 0.85rem;
  }
}

/* Feedback Section Styling */
#feedback {
  justify-content: center;
  align-items: center;
  min-height: auto;
}

#feedback .section-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

#feedback h2.section-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 3rem;
}

#feedback form.contact-form {
  width: 100%;
  max-width: 600px;
}

/* Feedback Form Styling */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
}

/* File Input Refinement */
.file-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-color-secondary);
}

.file-input::file-selector-button {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-right: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
}

.file-input::file-selector-button:hover {
  opacity: 0.9;
}

/* Profile Button Icon Styling */
.btn-profile-icon {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.btn-profile-icon:hover {
  background: rgba(0, 210, 255, 0.2) !important;
  border-color: var(--primary-color) !important;
  transform: scale(1.05);
}

.btn-profile-icon i {
  color: var(--text-color);
  font-size: 1rem;
}

/* --- Profile Section Styles --- */
.profile-section {
  max-width: 800px;
  margin: 0 auto;
}

.profile-container {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 0;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.avatar-initials {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-info h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.profile-info p {
  margin: 0;
  line-height: 1.5;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.profile-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.profile-actions .btn i {
  font-size: 0.9rem;
}

.profile-edit-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.profile-edit-form h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.profile-edit-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.profile-edit-form input[type="text"],
.profile-edit-form input[type="password"],
.profile-edit-form textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.profile-edit-form input:focus,
.profile-edit-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

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

@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  word-break: break-word;
  line-height: 1.3;
}

.stat-label {
  color: var(--text-color-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 0.25rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .profile-modal-content {
    padding: 1.5rem;
  }

  .profile-container {
    padding: 1.5rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }

  .profile-info {
    align-items: center;
    text-align: center;
  }

  .profile-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

  .form-actions .btn {
    width: 100%;
  }
}

/* --- Shrunk Navigation Icons in Header --- */
.shrunk-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
  position: relative;
}

.shrunk-nav-icon i {
  font-size: 1.1rem;
}

.shrunk-nav-icon .shrunk-nav-plus-icon {
  font-size: 0.7rem;
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-color);
  color: #000;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 210, 255, 0.5);
}

.shrunk-nav-icon:hover {
  color: var(--primary-color);
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.3);
}

.shrunk-nav-icon.active {
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

@media (max-width: 768px) {
  .shrunk-nav-icons-container {
    display: none !important; /* Hide navigation icons on mobile to prevent overlap */
  }

  .header.scrolled .shrunk-nav-icons-container {
    display: none !important;
  }

  .nav-container {
    justify-content: space-between !important;
    padding: 0 1rem !important;
  }

  .header.scrolled .logo--icon {
    width: 35px !important;
    height: auto !important;
    display: block !important;
  }

  /* Fix Section Header Icons on mobile */
  .section-header-icon {
    width: 45px !important;
    height: 45px !important;
    border-radius: 10px !important;
  }

  .section-header-icon i {
    font-size: 1.5rem !important;
  }

  /* Fix Hero Elements visibility on mobile */
  #race-insight-hero .hero-title,
  #race-insight-hero .hero-description,
  #race-insight-hero .hero-badge,
  #race-insight-hero .tagline {
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
  }

  #race-insight-hero .hero-title {
    font-size: 2.5rem !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
  }

  #race-insight-hero .tagline {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }

  #race-insight-hero .hero-description {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  /* Ensure card text is visible */
  .style-minimal .innovative-card h4,
  .style-minimal .innovative-card p {
    opacity: 1 !important;
    color: #fff !important;
    transform: none !important;
    visibility: visible !important;
  }

  .style-minimal .innovative-card h4 {
    color: var(--primary-color) !important;
  }

  .shrunk-nav-icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .shrunk-nav-icon i {
    font-size: 1rem !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .hamburger-btn {
    position: relative !important;
    margin-left: auto !important;
    z-index: 100 !important;
  }
}

@media (max-width: 480px) {
  .section-header-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .section-header-icon {
    width: 50px !important;
    height: 50px !important;
  }

  .section-header-icon i {
    font-size: 1.5rem !important;
  }

  .feature-section .section-title {
    font-size: 1.25rem;
  }

  .feature-section .section-subtitle {
    font-size: 0.85rem;
  }
}

/* --- Feature Sections --- */
.feature-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 8rem;
}

.feature-section .section-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section Header Card Style */
.section-header-card {
  background: unset;
  background-color: rgba(20, 20, 20, 0.8);
  background-image: none;
  border-radius: 12px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 3px solid var(--primary-color);
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  height: 68px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 48px;
  width: 100%;
  max-width: 100%;
}

.section-header-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0;
}

.section-header-icon i {
  font-size: 2.5rem;
  color: #000;
}

.section-header-text {
  flex: 0 1 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.section-header-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.feature-section .section-title {
  font-size: 31px;
  font-weight: 700;
  margin: 0;
  height: 30px;
  line-height: 31px;
  color: var(--text-color);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--text-color);
  text-align: center;
}

.feature-section .section-subtitle {
  font-size: 13px;
  color: var(--text-color-secondary);
  text-align: center;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

.feature-content {
  background: rgba(20, 20, 20, 0.6);
-webkit-backdrop-filter: blur();-filter: blur();
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.feature-intro {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Innovative Hybrid Layout: Glassmorphism + Overlapping Layers + Accordion + Particle Glow */
.feature-details.innovative-layout {
  display: flex;
  position: relative;
  gap: 0;
  padding: 2rem 0;
  min-height: 500px;
  align-items: center;
  justify-content: center;
}

.feature-detail-item {
  border-radius: 10px;
}

.innovative-card {
  position: relative;
  width: 320px;
  min-height: 450px;
  background: rgba(255, 255, 255, 0.05);
-webkit-backdrop-filter: blur();-filter: blur();
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  margin: 0 -40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.innovative-card:nth-child(1) {
  z-index: 1;
  transform: translateX(0) scale(0.9);
}

.innovative-card:nth-child(2) {
  z-index: 3;
  transform: translateX(0) scale(1);
}

.innovative-card:nth-child(3) {
  z-index: 1;
  transform: translateX(0) scale(0.9);
}

.innovative-card.active {
  z-index: 5 !important;
  width: 420px;
  min-height: 500px;
  transform: translateX(0) scale(1.05) !important;
  box-shadow: 0 20px 60px rgba(0, 210, 255, 0.3), 0 0 80px rgba(0, 210, 255, 0.2);
  border-color: rgba(0, 210, 255, 0.5);
}

.innovative-card:hover:not(.active) {
  z-index: 4;
  transform: translateX(0) scale(0.95);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.2);
}

/* Card Glow Effect (Surprise 4th: Animated Particle Glow) */
.card-glow {
  display: none; /* Blue glow removed */
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.6;
  }
}

/* Image Wrapper */
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.3);
  cursor: pointer;
}

.innovative-card.active .card-image-wrapper {
  height: 250px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.8) contrast(1.1);
}

.innovative-card.active .card-image {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0.6;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.innovative-card.active .image-overlay {
  opacity: 0.4;
}

/* Card Content */
.card-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
  background: rgba(20, 20, 20, 0.4);
-webkit-backdrop-filter: blur();-filter: blur();
  height: calc(100% - 200px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.6s ease;
}

.innovative-card.active .card-content {
  height: calc(100% - 250px);
  padding: 2.5rem;
  background: rgba(20, 20, 20, 0.6);
}

.innovative-card h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: all 0.6s ease;
  text-shadow: none;
}

.innovative-card.active h4 {
  font-size: 1.5rem;
  text-shadow: none;
}

.innovative-card p {
  color: var(--text-color-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: all 0.6s ease;
  max-height: 0;
  overflow: hidden;
}

.innovative-card.active p {
  opacity: 1;
  max-height: 200px;
  font-size: 1rem;
}

/* Particle Effects (Surprise 4th: Animated Particles) */
.card-particles {
  display: none; /* Blue particles removed */
}

@keyframes float-particles {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, -50px) scale(0.8);
    opacity: 0.8;
  }
  75% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.9;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .innovative-card {
    width: 280px;
    margin: 0 -30px;
  }
  
  .innovative-card.active {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .feature-details.innovative-layout,
  .feature-details.style-overlapping,
  .feature-details.style-accordion,
  .feature-details.style-glassmorphism,
  .feature-details.style-particles,
  .feature-details.style-isometric {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
  }
  
  .innovative-card {
    width: 100% !important;
    max-width: 400px;
    margin: 0 !important;
    transform: none !important;
    min-height: 400px;
  }
  
  .innovative-card.active {
    transform: scale(1.02) !important;
  }
}

/* ============================================
   STYLE 1: OVERLAPPING LAYERS (Data Import)
   ============================================ */
.feature-details.style-overlapping {
  display: flex;
  position: relative;
  gap: 0;
  padding: 3rem 0;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.style-overlapping .innovative-card {
  position: absolute;
  width: 350px;
  min-height: 450px;
  background: rgba(20, 20, 20, 0.8);
  border: 2px solid rgba(0, 210, 255, 0.3);
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.style-overlapping .innovative-card:nth-child(1) {
  transform: translateX(-180px) translateY(-20px) rotateY(-15deg) scale(0.85);
  z-index: 1;
  opacity: 0.7;
}

.style-overlapping .innovative-card:nth-child(2) {
  transform: translateX(0) translateY(0) rotateY(0deg) scale(1);
  z-index: 3;
  opacity: 1;
}

.style-overlapping .innovative-card:nth-child(3) {
  transform: translateX(180px) translateY(-20px) rotateY(15deg) scale(0.85);
  z-index: 1;
  opacity: 0.7;
}

.style-overlapping .innovative-card:hover {
  z-index: 5 !important;
  transform: translateX(0) translateY(-30px) rotateY(0deg) scale(1.05) !important;
  opacity: 1 !important;
  box-shadow: 0 25px 60px rgba(0, 210, 255, 0.4);
  border-color: rgba(0, 210, 255, 0.8);
}

.style-overlapping .innovative-card.active {
  z-index: 5 !important;
  transform: translateX(0) translateY(-40px) rotateY(0deg) scale(1.1) !important;
  opacity: 1 !important;
  box-shadow: 0 30px 80px rgba(0, 210, 255, 0.5);
  border-color: var(--primary-color);
}

/* ============================================
   STYLE 2: INTERACTIVE ACCORDION (Data Overview)
   ============================================ */
.feature-details.style-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.style-accordion .innovative-card {
  position: relative;
  width: 100%;
  min-height: 120px;
  max-height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.style-accordion .innovative-card.active {
  min-height: 400px;
  max-height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 15px 50px rgba(0, 210, 255, 0.3);
}

.style-accordion .card-image-wrapper {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.style-accordion .innovative-card.active .card-image-wrapper {
  width: 100%;
  height: 250px;
}

.style-accordion .card-content {
  padding: 1.5rem;
  flex: 1;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease 0.2s;
}

.style-accordion .innovative-card.active .card-content {
  opacity: 1;
  transform: translateX(0);
  padding: 2rem;
}

.style-accordion .innovative-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  position: absolute;
  left: 220px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease;
}

.style-accordion .innovative-card.active h4 {
  position: static;
  transform: none;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  white-space: normal;
}

.style-accordion .innovative-card p {
  max-height: 0;
  opacity: 0;
}

.style-accordion .innovative-card.active p {
  max-height: 200px;
  opacity: 1;
}

/* ============================================
   STYLE 3: GLASSMORPHISM FLOATING PANELS (Analysis)
   ============================================ */
.feature-details.style-glassmorphism {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  perspective: 1200px;
}

.style-glassmorphism .innovative-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: auto;
  max-height: none;
  background: rgba(255, 255, 255, 0.03);
-webkit-backdrop-filter: blur();-filter: blur();
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

.style-glassmorphism .innovative-card:hover {
  aspect-ratio: auto;
  height: 554px;
  min-height: 554px;
  max-height: 554px;
  transform: translateY(-20px) rotateX(0deg) rotateY(0deg) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.style-glassmorphism .innovative-card.active:hover {
  aspect-ratio: auto;
  height: 554px;
  min-height: 554px;
  max-height: 554px;
}

.style-glassmorphism .card-image-wrapper {
  height: 100%;
  width: 100%;
  border-radius: 0px;
  transition: height 0.5s ease;
}

.style-glassmorphism .innovative-card:hover .card-image-wrapper {
  height: 250px;
}

.style-glassmorphism .card-content {
  background: rgba(20, 20, 20, 0.3);
-webkit-backdrop-filter: blur();-filter: blur();
  border-radius: 0px;
  opacity: 0;
  max-height: 0;
  overflow: visible;
  transition: all 0.5s ease;
  padding: 0 2rem;
  position: relative;
}

.style-glassmorphism .innovative-card:hover .card-content {
  opacity: 1;
  max-height: 400px;
  padding: 2rem;
}

.style-glassmorphism .innovative-card h4 {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease 0.2s;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.style-glassmorphism .innovative-card:hover h4 {
  position: static;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-shadow: none;
  margin-bottom: 1rem;
}

.style-glassmorphism .innovative-card p {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease 0.3s;
  max-height: 0;
}

.style-glassmorphism .innovative-card:hover p {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

/* ============================================
   STYLE 4: PARTICLE GLOW MORPHING (Custom Workbook)
   ============================================ */
.feature-details.style-particles {
  display: flex;
  position: relative;
  gap: 2rem;
  padding: 3rem 0;
  min-height: 500px;
  align-items: center;
  justify-content: center;
}

.style-particles .innovative-card {
  position: relative;
  width: 320px;
  min-height: 450px;
  background: rgba(20, 20, 20, 0.6);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  transition: all 0.6s ease;
  overflow: visible;
  margin: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.style-particles .card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(
    circle,
    rgba(0, 210, 255, 0.4) 0%,
    rgba(0, 120, 255, 0.2) 25%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: morph-glow 6s ease-in-out infinite;
  pointer-events: none;
  border-radius: 50%;
}

.style-particles .innovative-card.active .card-glow {
  opacity: 1;
  animation: morph-glow 3s ease-in-out infinite;
}

@keyframes morph-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
    border-radius: 50% 40% 60% 30%;
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1) rotate(90deg);
    border-radius: 60% 50% 40% 70%;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.9) rotate(180deg);
    border-radius: 40% 60% 50% 50%;
  }
  75% {
    transform: translate(-50%, -50%) scale(1.05) rotate(270deg);
    border-radius: 50% 50% 60% 40%;
  }
}

.style-particles .innovative-card:hover {
  transform: scale(1.05);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 15px 50px rgba(0, 210, 255, 0.3);
}

.style-particles .innovative-card.active {
  transform: scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 20px 70px rgba(0, 210, 255, 0.5);
}

.style-particles .card-particles {
  opacity: 1;
}

.style-particles .card-particles::before,
.style-particles .card-particles::after {
  animation: morph-particles 10s ease-in-out infinite;
}

@keyframes morph-particles {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  25% {
    transform: translate(30px, -40px) scale(1.3);
    border-radius: 30% 70% 50% 50%;
  }
  50% {
    transform: translate(-20px, -60px) scale(0.8);
    border-radius: 70% 30% 50% 50%;
  }
  75% {
    transform: translate(40px, -30px) scale(1.2);
    border-radius: 50% 50% 70% 30%;
  }
}

/* ============================================
   STYLE 5: ISOMETRIC 3D BOXES (Data Export)
   ============================================ */
.feature-details.style-isometric {
  display: flex;
  position: relative;
  gap: 3rem;
  padding: 4rem 0;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  perspective-origin: center center;
}

.style-isometric .innovative-card {
  position: relative;
  width: 300px;
  min-height: 400px;
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid rgba(0, 210, 255, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: 0;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-25deg) translateZ(0);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(0, 210, 255, 0.1);
}

.style-isometric .innovative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.1) 0%,
    transparent 50%,
    rgba(0, 120, 255, 0.1) 100%
  );
  transform: translateZ(50px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.style-isometric .innovative-card:hover {
  transform: rotateX(10deg) rotateY(-20deg) translateZ(50px) scale(1.05);
  border-color: rgba(0, 210, 255, 0.6);
  box-shadow: 
    0 30px 80px rgba(0, 210, 255, 0.3),
    inset 0 0 60px rgba(0, 210, 255, 0.2);
}

.style-isometric .innovative-card:hover::before {
  opacity: 1;
}

.style-isometric .innovative-card.active {
  transform: rotateX(5deg) rotateY(-15deg) translateZ(100px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 
    0 40px 100px rgba(0, 210, 255, 0.4),
    inset 0 0 80px rgba(0, 210, 255, 0.3);
  z-index: 10;
}

.style-isometric .innovative-card.active::before {
  opacity: 1;
}

.style-isometric .card-image-wrapper {
  transform: translateZ(30px);
  transition: transform 0.6s ease;
}

.style-isometric .innovative-card.active .card-image-wrapper {
  transform: translateZ(60px) scale(1.1);
}

.style-isometric .card-content {
  transform: translateZ(20px);
  background: rgba(20, 20, 20, 0.8);
-webkit-backdrop-filter: blur();-filter: blur();
}

.style-isometric .innovative-card.active .card-content {
  transform: translateZ(50px);
}

/* ============================================
   STYLE 6: MINIMAL CLEAN CARDS (Data Overview)
   ============================================ */
.feature-details.style-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}

/* Layout: All cards in a single row */
.style-minimal .innovative-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.style-minimal .innovative-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.style-minimal .innovative-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.style-minimal .innovative-card {
  position: relative;
  width: 100% !important;
  max-width: 100%;
  min-height: 420px !important;
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: 0 auto !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: none !important;
  justify-self: center;
}

.style-minimal .innovative-card:nth-child(1),
.style-minimal .innovative-card:nth-child(2),
.style-minimal .innovative-card:nth-child(3) {
  transform: none !important;
  width: 100% !important;
  min-height: 420px !important;
}

.style-minimal .innovative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.style-minimal .innovative-card:hover::before {
  opacity: 1;
}

.style-minimal .innovative-card:hover:not(.active) {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.15), 0 0 0 1px rgba(0, 210, 255, 0.1);
  background: rgba(20, 20, 20, 0.6);
}

.style-minimal .innovative-card.active {
  transform: none !important;
  width: 100% !important;
  min-height: 420px !important;
  border-color: var(--primary-color);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.25), 0 0 0 1px rgba(0, 210, 255, 0.2);
  background: rgba(20, 20, 20, 0.7);
}

.style-minimal .innovative-card.active:hover {
  transform: none;
}

.style-minimal .innovative-card.active::before {
  opacity: 1;
}

.style-minimal .card-image-wrapper {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: height 0.4s ease;
}

.style-minimal .innovative-card:hover .card-image-wrapper {
  height: 200px;
}

.style-minimal .innovative-card.active .card-image-wrapper {
  height: 200px !important;
}

.style-minimal .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.85) contrast(1.05);
}

.style-minimal .innovative-card:hover .card-image {
  transform: scale(1.08);
  filter: brightness(0.95) contrast(1.1);
}

.style-minimal .innovative-card.active .card-image {
  transform: scale(1);
  filter: brightness(0.85) contrast(1.05);
}

.style-minimal .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000 !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.4s ease;
}

.style-minimal .innovative-card:hover .image-overlay,
.style-minimal .innovative-card.active .image-overlay {
  opacity: 1 !important;
  background: #000 !important;
}

.style-minimal .card-content {
  padding: 2rem !important;
  background: transparent;
  height: auto;
  transition: all 0.4s ease;
  position: relative;
}

.style-minimal .innovative-card.active .card-content {
  padding: 2rem !important;
  height: auto;
}

.style-minimal .innovative-card h4 {
  color: var(--text-color);
  font-size: 1.3rem !important;
  font-weight: 600;
  margin: 0 0 1rem 0;
  transition: all 0.4s ease;
  line-height: 1.3;
}

.style-minimal .innovative-card:hover h4,
.style-minimal .innovative-card.active h4 {
  color: var(--primary-color);
  transform: translateX(4px);
  font-size: 1.3rem !important;
}

.style-minimal .innovative-card p {
  color: var(--text-color-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(4px);
  max-height: none;
  overflow: visible;
}

.style-minimal .innovative-card:hover p,
.style-minimal .innovative-card.active p {
  opacity: 1;
  transform: translateY(0);
}

.style-minimal .card-glow {
  display: none;
}

.style-minimal .card-particles {
  display: none;
}

/* Icon animation for style-minimal cards */
.style-minimal .image-overlay i {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 4rem !important;
  color: #fff !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease,
              filter 0.4s ease;
}

.style-minimal .innovative-card:hover .image-overlay i,
.style-minimal .innovative-card.active .image-overlay i {
  transform: scale(1.15) translateY(-5px);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Responsive for minimal style */
@media (max-width: 992px) {
  .feature-details.style-minimal {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  /* All cards in a single row at this breakpoint */
  .style-minimal .innovative-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .style-minimal .innovative-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .style-minimal .innovative-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .section-header-card {
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .feature-section .section-title {
    font-size: 1.75rem;
  }

  .feature-section .section-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .feature-section {
    padding: 4rem 1rem 6rem;
  }
  
  .feature-details.style-minimal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Reset grid positioning for single column layout on mobile */
  .style-minimal .innovative-card:nth-child(1),
  .style-minimal .innovative-card:nth-child(2),
  .style-minimal .innovative-card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }
  
  .style-minimal .innovative-card {
    min-height: 380px;
  }

  .section-header-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    height: auto !important;
    gap: 1rem;
  }

  .section-header-icon {
    width: 60px;
    height: 60px;
  }

  .section-header-icon i {
    font-size: 2rem;
  }

  .section-header-text {
    position: static !important;
    text-align: center;
  }

  /* Ensure icons in image-overlay are visible on mobile */
  .style-minimal .card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .style-minimal .image-overlay {
    opacity: 1 !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
  }

  .style-minimal .image-overlay i {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 3.5rem !important;
    color: #fff !important;
    z-index: 10 !important;
    position: relative !important;
  }

  .feature-content {
    padding: 2rem 1.5rem;
  }

  .feature-intro {
    font-size: 1rem;
  }

  .feature-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
