/*
Theme Name: Nova Electric Racing
Author: Jens van den Berg
Version: 1.0
Description: Nova Electric Racing Website
Text Domain: nova-racing
*/

/* ============================================================================
   CSS VARIABLES - DESIGN SYSTEM WITH PURPLE ACCENT
   ============================================================================ */
   :root {
    /* Colors - Purple Theme */
    --color-background: hsl(0, 0%, 100%);
    --color-foreground: hsl(217, 47%, 8%);
    --color-card: hsl(0, 0%, 100%);
    --color-card-foreground: hsl(217, 47%, 8%);
    --color-primary: #400068; /* Main Purple */
    --color-primary-foreground: hsl(0, 0%, 98%);
    --color-primary-light: hsl(280, 100%, 65%); /* Light Purple */
    --color-primary-dark: hsl(217, 47%, 8%);
    --color-secondary: hsl(280, 15%, 95%);
    --color-secondary-foreground: hsl(217, 47%, 8%);
    --color-muted: hsl(220, 13%, 96%);
    --color-muted-foreground: hsl(220, 13%, 45%);
    --color-accent: #400068; /* Purple Accent */
    --color-accent-foreground: hsl(0, 0%, 98%);
    --color-navy: hsl(225, 64%, 15%);
    --color-blue: hsl(224, 55%, 40%);
    
    /* Electric Border Variables */
    --electric-border-color: #C4B5FD;
    --electric-light-color: hsl(280, 100%, 98%);
    --eb-border-width: 2px;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
    --gradient-accent: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-foreground));
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsla(280, 100%, 20%, 0.3);
    --shadow-glow: 0 0 40px hsla(280, 100%, 60%, 0.4);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 5rem;
  }
  
  /* ============================================================================
     RESET AND BASE STYLES
     ============================================================================ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
  }
  
  .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* ============================================================================
     SPOTLIGHT CARD STYLES
     ============================================================================ */
  .card-spotlight {
    position: relative;
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-color: rgba(64, 0, 104, 0.08);
  }
  
  .card-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
      600px circle at var(--mouse-x) var(--mouse-y), 
      var(--spotlight-color), 
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }
  
  .card-spotlight:hover::before {
    opacity: 1;
  }
  
  /* ============================================================================
     ELECTRIC BORDER STYLES
     ============================================================================ */
  .electric-border {
    position: relative;
    border-radius: inherit;
    overflow: visible;
    isolation: isolate;
  }
  
  .eb-svg {
    position: fixed;
    left: -10000px;
    top: -10000px;
    width: 10px;
    height: 10px;
    opacity: 0.001;
    pointer-events: none;
  }
  
  .eb-content {
    position: relative;
    border-radius: inherit;
    z-index: 3;
  }
  
  .eb-layers {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .electric-border:hover .eb-layers {
    opacity: 1;
  }
  
  .eb-stroke,
  .eb-glow-1,
  .eb-glow-2,
  .eb-background-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-sizing: border-box;
  }
  
  .eb-stroke {
    border: var(--eb-border-width) solid var(--electric-border-color);
    opacity: 0.6;
  }
  
  .eb-glow-1 {
    border: var(--eb-border-width) solid hsla(280, 100%, 98%, 0.8);
    opacity: 0.1;
    filter: blur(calc(0.5px + (var(--eb-border-width) * 0.25)));
  }
  
  .eb-glow-2 {
    border: var(--eb-border-width) solid var(--electric-light-color);
    opacity: 0.1;
    filter: blur(calc(2px + (var(--eb-border-width) * 0.5)));
  }
  
  /* ============================================================================
     HEADER STYLES
     ============================================================================ */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(220, 13%, 91%, 0.5);
    transform: translateY(-100%);
    transition: transform 0.4s ease-out;
  }
  
  .header.visible {
    transform: translateY(0);
  }
  
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.25rem;
  }
  
  /* On mobile, make hamburger float */
  @media (max-width: 767px) {
    .header {
      transform: translateY(0);
      background: transparent;
      border: none;
      backdrop-filter: none;
      transition: background 0.3s ease, backdrop-filter 0.3s ease, border 0.3s ease;
    }
    
    .header.scrolled {
      background-color: hsla(0, 0%, 100%, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid hsla(220, 13%, 91%, 0.5);
    }
    
    .header-content {
      justify-content: flex-end;
    }
    
    .logo {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .header.scrolled .logo {
      display: flex;
      opacity: 1;
    }
    
    .header.scrolled .header-content {
      justify-content: space-between;
    }
    
    .mobile-menu-btn {
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 100;
      background: var(--color-primary);
      border-radius: 0.5rem;
      padding: 0.75rem;
      box-shadow: 0 4px 12px rgba(64, 0, 104, 0.4);
    }
    
    .hamburger-line {
      background-color: white;
    }
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
  }
  
  .logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition-smooth);
  }
  
  .logo:hover {
    opacity: 0.8;
  }
  
  .logo-img {
    height: 2rem;
    width: auto;
    filter: 
      brightness(0) 
      saturate(100%) 
      invert(11%) 
      sepia(77%) 
      saturate(4917%) 
      hue-rotate(276deg) 
      brightness(70%) 
      contrast(109%);
  }
  
  .logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    font-weight: 500;
    letter-spacing: 0.1em;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
  }
  
  .nav-link:hover {
    color: var(--color-primary);
  }
  
  .hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: var(--color-foreground);
    transition: var(--transition-smooth);
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .nav-mobile {
    display: none;
  }
  
  .nav-mobile.active {
    display: block;
  }
  
  .nav-mobile-content {
    padding: 1rem 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .nav-mobile-link {
    display: block;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    color: var(--color-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
  }
  
  .nav-mobile-link:hover {
    color: var(--color-primary);
    background-color: hsla(280, 100%, 60%, 0.1);
  }
  
  /* ============================================================================
     NEW HERO SECTION WITH FIXED VIDEO
     ============================================================================ */
  .hero-new {
    position: relative;
    height: 100vh;
    overflow: visible;
  }
  
  .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vh;
    z-index: 1;
  }
  
  .hero-video-fixed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(100%) contrast(1.2) brightness(0.6);
  }
  
  .hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(64, 0, 104, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  }
  
  .hero-logo-container {
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .hero-logo-large {
    height: clamp(8rem, 20vw, 16rem);
    width: auto;
  }
  
  .hero-logo-subtitle {
    display: none;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: clamp(1rem, 2.5vw, 1.75rem);
    text-shadow: 0 0 20px rgba(64, 0, 104, 0.6);
  }
  
  .scroll-indicator-new {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease-out;
  }
  
  .scroll-indicator-new.hidden {
    opacity: 0;
  }
  
  .scroll-line {
    width: 0.25rem;
    height: 4rem;
    background: var(--gradient-accent);
    border-radius: 9999px;
    animation: bounce 2s infinite;
  }
  
  .scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
  }
  
  /* ============================================================================
     INFO SECTION
     ============================================================================ */
  .info-section {
    position: relative;
    z-index: 20;
    background: transparent;
    padding: 15rem 0 20rem;
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.6s ease-out;
  }
  
  .info-section.visible {
    opacity: 1;
  }
  
  .info-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 1.5rem;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  
  .info-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--color-primary-foreground);
    margin-bottom: 2rem;
    line-height: 1.2;
  }
  
  .info-description {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    line-height: 1.6;
  }
  
  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .stat-item {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
  }
  
  .stat-item:hover {
    transform: translateY(-0.5rem);
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary-light);
    box-shadow: 0 0 20px rgba(64, 0, 104, 0.3);
  }
  
  .stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--color-primary-light);
  }
  
  .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* ============================================================================
     BUTTON STYLES
     ============================================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .btn-hero {
    background: var(--gradient-hero);
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-elegant);
  }
  
  .btn-hero:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    transition: var(--transition-bounce);
  }
  
  .btn-outline-hero {
    border: 1px solid hsla(0, 0%, 98%, 0.3);
    background: transparent;
    color: var(--color-primary-foreground);
  }
  
  .btn-outline-hero:hover {
    background-color: hsla(0, 0%, 98%, 0.1);
  }
  
  .btn-racing {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-elegant);
  }
  
  .btn-racing:hover {
    background: var(--color-primary-dark);
    color: var(--color-primary-foreground);
  }
  
  .btn-outline {
    border: 1px solid hsla(280, 100%, 60%, 0.3);
    background: transparent;
    color: var(--color-foreground);
  }
  
  .btn-outline:hover {
    background-color: hsla(280, 100%, 60%, 0.1);
    color: var(--color-primary);
  }
  
  .btn-outline-light {
    border: 1px solid hsla(0, 0%, 98%, 0.3);
    background: transparent;
    color: var(--color-primary-foreground);
  }
  
  .btn-outline-light:hover {
    background-color: hsla(0, 0%, 98%, 0.1);
  }
  
  .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  /* ============================================================================
     SECTION STYLES
     ============================================================================ */
  section:not(.hero-new):not(.info-section) {
    padding: 5rem 0;
    position: relative;
    z-index: 25;
    background-color: var(--color-background);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .text-gradient {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .text-gradient-two {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* ============================================================================
     CORE VALUES STYLES
     ============================================================================ */
  .core-values {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 10%, var(--color-background) 20%);
    position: relative;
    z-index: 25;
    padding-top: 5rem;
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .value-card {
    background-color: var(--color-card);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
  }
  
  .value-card:hover {
    transform: translateY(-0.5rem);
  }
  
  .value-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    transition: var(--transition-smooth);
  }
  
  .value-card:hover .value-icon {
    transform: scale(1.1);
    color: var(--color-primary-light);
  }
  
  .value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
  }
  
  .value-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .value-details {
    font-size: 0.875rem;
    color: hsla(220, 13%, 45%, 0.8);
    line-height: 1.6;
  }
  
  /* ============================================================================
     BIKE SHOWCASE STYLES
     ============================================================================ */
  .bike-showcase {
    background: linear-gradient(135deg, hsla(280, 100%, 95%, 0.2), var(--color-background));
    position: relative;
    z-index: 25;
  }
  
  .bike-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .bike-text {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .bike-text .section-title {
    text-align: center;
  }
  
  .bike-text .btn {
    margin-top: 1rem;
  }
  
  /* Desktop layout for bike section */
  @media (min-width: 768px) {
    .bike-content {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      max-width: 100%;
    }
    
    .bike-text {
      text-align: left;
      align-items: flex-start;
    }
    
    .bike-text .section-title {
      text-align: left;
    }
    
    .bike-description {
      text-align: left;
    }
  }
  
  .bike-description {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
  }
  
  .specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  @media (min-width: 768px) {
    .specs-grid {
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }
  
  .spec-card {
    background-color: var(--color-card);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    border-radius: 0.375rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    position: relative;
    text-align: center;
  }
  
  .spec-card:hover {
    transform: translateY(-0.25rem);
  }
  
  .spec-icon {
    color: var(--color-primary);
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .spec-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .spec-label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
  }
  
  .spec-value {
    font-weight: 600;
    color: var(--color-foreground);
  }
  
  @media (min-width: 768px) {
    .spec-card {
      flex-direction: row;
      align-items: center;
      text-align: left;
      gap: 0.75rem;
    }
    
    .spec-content {
      align-items: flex-start;
    }
  }
  
  .bike-image {
    position: relative;
    display: none;
  }
  
  .bike-img-container {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
  }
  
  .bike-img-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0.2;
  }
  
  @media (min-width: 768px) {
    .bike-image {
      display: block;
    }
    
    .bike-img-container {
      display: block;
      position: relative;
      overflow: hidden;
      border-radius: 1rem;
      box-shadow: var(--shadow-elegant);
    }
    
    .bike-viewer {
      width: 100%;
      aspect-ratio: 16/9;
      background: radial-gradient(ellipse at 50% 50%, rgba(64, 0, 104, 0.15), rgba(0, 0, 0, 0.8));
      border-radius: 1rem;
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 400px;
    }
  
    .bike-viewer canvas { 
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  
    .bike-viewer .loading {
      position: absolute; 
      inset: 0; 
      display: flex;
      flex-direction: column;
      align-items: center; 
      justify-content: center;
      background: transparent;
      z-index: 10;
      gap: 1.5rem;
    }
  
    .bike-viewer .loading-logo {
      width: clamp(8rem, 20vw, 12rem);
      height: auto;
      filter: 
        brightness(0) 
        saturate(100%) 
        invert(11%) 
        sepia(77%) 
        saturate(4917%) 
        hue-rotate(276deg) 
        brightness(150%) 
        contrast(109%);
      animation: logoPulse 2s ease-in-out infinite;
    }
  
    .bike-viewer .loading-text {
      color: var(--color-primary-light);
      font-weight: 600;
      letter-spacing: .06em;
      font-size: 0.875rem;
      text-transform: uppercase;
      opacity: 0.8;
    }
  
    .bike-viewer.error { 
      background: #1b1b1b; 
    }
  
    .bike-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: none;
      border-radius: 1rem;
    }
  
    #bike-fallback-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 4rem;
      display: none;
      z-index: 5;
    }
  
    #bike-fallback-img.show {
      display: block;
    }
  
    .bike-fallback-logo {
      filter: 
        brightness(0) 
        saturate(100%) 
        invert(11%) 
        sepia(77%) 
        saturate(4917%) 
        hue-rotate(276deg) 
        brightness(150%) 
        contrast(109%);
      animation: logoPulse 2s ease-in-out infinite;
    }
  
    .bike-img-overlay {
      display: block;
      position: absolute;
      inset: 0;
      background: var(--gradient-accent);
      opacity: 0.2;
    }
    
    .floating-stat {
      display: block;
      position: absolute;
      top: -1.5rem;
      right: -1.5rem;
      background-color: var(--color-card);
      border: 1px solid hsla(280, 100%, 60%, 0.2);
      border-radius: 0.75rem;
      padding: 1rem;
      box-shadow: var(--shadow-elegant);
      text-align: center;
    }
  
    .floating-stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--color-primary);
    }
  
    .floating-stat-label {
      font-size: 0.875rem;
      color: var(--color-muted-foreground);
    }
  }
  
  @keyframes logoPulse {
    0%, 100% {
      opacity: 0.4;
      transform: scale(0.95);
    }
    50% {
      opacity: 1;
      transform: scale(1.05);
    }
  }
  
  /* ============================================================================
     NEWS & EVENTS SECTION WITH EMBEDS
     ============================================================================ */
  .news-events {
    background: linear-gradient(135deg, hsla(280, 100%, 98%, 0.3), var(--color-background));
    position: relative;
    z-index: 25;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .news-card {
    background-color: var(--color-card);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .news-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-elegant);
  }
  
  .news-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .social-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: var(--transition-smooth);
  }
  
  .social-badge svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .instagram-badge {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
  }
  
  .linkedin-badge {
    background: #0077b5;
    color: white;
  }
  
  .news-date {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
  }
  
  /* Social Media Embed Styles - SociableKit Widgets */
  .embed-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem 1rem;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  /* Custom scrollbar styling for better appearance */
  .embed-container::-webkit-scrollbar {
    width: 8px;
  }
  
  .embed-container::-webkit-scrollbar-track {
    background: hsla(280, 100%, 60%, 0.05);
    border-radius: 4px;
  }
  
  .embed-container::-webkit-scrollbar-thumb {
    background: hsla(280, 100%, 60%, 0.3);
    border-radius: 4px;
    transition: var(--transition-smooth);
  }
  
  .embed-container::-webkit-scrollbar-thumb:hover {
    background: hsla(280, 100%, 60%, 0.5);
  }
  
  .instagram-embed-card .sk-instagram-feed,
  .linkedin-embed-card .sk-ww-linkedin-page-post {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* Override SociableKit default styles to match design */
  .sk-instagram-feed,
  .sk-ww-linkedin-page-post {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  /* Ensure widgets are responsive */
  .embed-container > div {
    width: 100%;
    min-height: 400px;
  }
  
  .news-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-top: 1px solid hsla(280, 100%, 60%, 0.2);
  }
  
  .news-cta:hover {
    background: var(--color-primary-dark);
  }
  
  .news-cta svg {
    width: 1rem;
    height: 1rem;
    transition: var(--transition-smooth);
  }
  
  .news-cta:hover svg {
    transform: translate(2px, -2px);
  }
  
  /* ============================================================================
     TEAM STYLES
     ============================================================================ */
  .team {
    background: linear-gradient(135deg, hsla(280, 100%, 60%, 0.05), hsla(280, 100%, 95%, 0.1));
    position: relative;
    z-index: 25;
  }
  
  .team-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
  }
  
  .team-image {
    position: relative;
  }
  
  .team-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    filter: grayscale(100%) contrast(1.1) brightness(0.95);
    transition: var(--transition-smooth);
  }
  
  .team-img:hover {
    filter: grayscale(100%) contrast(1.15) brightness(1);
  }
  
  .team-img-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.25;
    border-radius: 1rem;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  
  .team-subtitle {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
  }
  
  .team-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .dept-card {
    background-color: var(--color-card);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    border-radius: 0.375rem;
    padding: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
  }
  
  .dept-card:hover {
    transform: translateY(-0.25rem);
  }
  
  .dept-icon {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 auto 0.5rem;
  }
  
  .dept-name {
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 0.25rem;
  }
  
  .dept-desc {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
  }
  
  .join-cta {
    text-align: center;
  }
  
  .join-card {
    background-color: var(--color-card);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 32rem;
    margin: 0 auto;
    box-shadow: var(--shadow-elegant);
    position: relative;
    transition: var(--transition-smooth);
  }
  
  .join-card:hover {
    transform: translateY(-0.25rem);
  }
  
  .join-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
  }
  
  .join-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
  }
  
  /* ============================================================================
     PARTNERS SECTION WITH LOGO LOOP
     ============================================================================ */
  .partners {
    background: linear-gradient(135deg, var(--color-background), hsla(280, 100%, 95%, 0.2));
    position: relative;
    z-index: 25;
  }
  
  /* Logo Loop Styles */
  .logoloop {
    position: relative;
    overflow-x: hidden;
    --logoloop-gap: 48px;
    --logoloop-logoHeight: 80px;
    --logoloop-fadeColor: var(--color-background);
    margin: 4rem 0;
    padding: 2rem 0;
  }
  
  .logoloop--scale-hover {
    padding-top: calc(var(--logoloop-logoHeight) * 0.15);
    padding-bottom: calc(var(--logoloop-logoHeight) * 0.15);
  }
  
  .logoloop__track {
    display: flex;
    width: max-content;
    will-change: transform;
    user-select: none;
  }
  
  .logoloop__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .logoloop__item {
    flex: 0 0 auto;
    margin-right: var(--logoloop-gap);
    font-size: var(--logoloop-logoHeight);
    line-height: 1;
  }
  
  .logoloop__item:last-child {
    margin-right: var(--logoloop-gap);
  }
  
  .logoloop__item img {
    height: var(--logoloop-logoHeight);
    width: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) saturate(100%) invert(11%) sepia(77%) saturate(4917%) hue-rotate(276deg) brightness(70%) contrast(109%) opacity(0.8);
  }
  
  .logoloop--scale-hover .logoloop__item {
    overflow: visible;
  }
  
  .logoloop--scale-hover .logoloop__item:hover img {
    transform: scale(1.2);
    transform-origin: center center;
    filter: brightness(0) saturate(100%) invert(11%) sepia(77%) saturate(4917%) hue-rotate(276deg) brightness(100%) contrast(109%) opacity(1);
  }
  
  .logoloop__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
    cursor: pointer;
  }
  
  .logoloop__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
  }
  
  .logoloop--fade::before,
  .logoloop--fade::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 15%, 200px);
    pointer-events: none;
    z-index: 1;
  }
  
  .logoloop--fade::before {
    left: 0;
    background: linear-gradient(
      to right,
      var(--logoloop-fadeColor) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  
  .logoloop--fade::after {
    right: 0;
    background: linear-gradient(
      to left,
      var(--logoloop-fadeColor) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  
  .partnership-cta {
    background: var(--gradient-primary);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-elegant);
  }
  
  .partnership-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .partnership-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ============================================================================
     FOOTER STYLES
     ============================================================================ */
  .footer {
    background: linear-gradient(135deg, var(--color-primary), var(--color-navy));
    color: var(--color-primary-foreground);
    position: relative;
    z-index: 25;
    padding-top: 5rem;
  }
  
  .footer-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .footer-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .footer-description {
    color: hsla(0, 0%, 98%, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 24rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid hsla(0, 0%, 98%, 0.3);
    border-radius: 0.375rem;
    color: var(--color-primary-foreground);
    transition: var(--transition-smooth);
    text-decoration: none;
  }
  
  .social-link:hover {
    background-color: hsla(0, 0%, 98%, 0.1);
    border-color: var(--color-primary-light);
  }
  
  .social-link svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .footer-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-link {
    color: hsla(0, 0%, 98%, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
  }
  
  .footer-link:hover {
    color: var(--color-primary-light);
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: var(--color-primary-light);
  }
  
  .contact-item p {
    color: hsla(0, 0%, 98%, 0.8);
    margin: 0;
  }
  
  .footer-bottom {
    border-top: 1px solid hsla(0, 0%, 98%, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-copyright {
    color: hsla(0, 0%, 98%, 0.6);
    font-size: 0.875rem;
  }
  
  .footer-tagline {
    color: hsla(0, 0%, 98%, 0.6);
    font-size: 0.875rem;
  }
  
  /* ============================================================================
     ANIMATIONS
     ============================================================================ */
  @keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
      transform: translate3d(0, 0, 0);
    }
    40%, 43% {
      transform: translate3d(0, -30px, 0);
    }
    70% {
      transform: translate3d(0, -15px, 0);
    }
    90% {
      transform: translate3d(0, -4px, 0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 0.35;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  @keyframes electricPulse {
    0%, 100% {
      opacity: 0.3;
      filter: blur(32px);
    }
    50% {
      opacity: 0.6;
      filter: blur(24px);
    }
  }
  
  /* ============================================================================
     RESPONSIVE DESIGN
     ============================================================================ */
  @media (min-width: 640px) {
    .container {
      padding: 0 1.5rem;
    }
    
    .info-content {
      padding: 3.5rem 3rem;
    }
    
    .departments-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  @media (min-width: 768px) {
    .nav-desktop {
      display: block;
    }
    
    .mobile-menu-btn {
      display: none;
    }
    
    /* Restore normal header on desktop */
    .header {
      background-color: hsla(0, 0%, 100%, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid hsla(220, 13%, 91%, 0.5);
    }
    
    .header-content {
      justify-content: space-between;
    }
    
    .logo {
      display: flex;
    }
    
    .specs-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .team-content {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
      grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-brand {
      grid-column: span 2;
    }
  
    .news-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2.5rem;
    }
  
    .logoloop {
      --logoloop-logoHeight: 100px;
      --logoloop-gap: 48px;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      padding: 0 2rem;
    }
    
    .partnership-cta {
      padding: 3rem;
    }
  
    .logoloop {
      --logoloop-logoHeight: 120px;
      --logoloop-gap: 48px;
    }
  }
  
  /* ============================================================================
     MOBILE-SPECIFIC IMPROVEMENTS
     ============================================================================ */
  @media (max-width: 767px) {
    /* Typography adjustments */
    .section-title {
      font-size: 2rem;
    }
    
    .section-subtitle {
      font-size: 1rem;
    }
    
    /* Hero adjustments */
    .hero-video-fixed {
      object-position: center center;
    }
    
    .scroll-indicator-new {
      bottom: 2rem;
    }
    
    .scroll-line {
      height: 3rem;
    }
    
    /* Info section adjustments */
    .info-section {
      padding: 10rem 0 15rem;
    }
    
    .info-content {
      padding: 1.5rem 1rem;
      border-radius: 20px;
    }
    
    .info-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
    
    .info-description {
      font-size: 0.875rem;
      margin-bottom: 2rem;
    }
    
    .stats-row {
      gap: 0.75rem;
      grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item {
      padding: 0.75rem 0.5rem;
    }
    
    .stat-icon {
      width: 1.5rem;
      height: 1.5rem;
      margin-bottom: 0.5rem;
    }
    
    .stat-value {
      font-size: 1.25rem;
    }
    
    .stat-label {
      font-size: 0.625rem;
      line-height: 1.2;
    }
    
    /* Section padding adjustments */
    section:not(.hero-new):not(.info-section) {
      padding: 3rem 0;
    }
    
    .section-header {
      margin-bottom: 2.5rem;
    }
    
    /* Card adjustments */
    .values-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    
    .value-card,
    .spec-card,
    .dept-card,
    .news-card {
      padding: 1rem;
    }
    
    .value-icon {
      width: 1.5rem;
      height: 1.5rem;
      margin-bottom: 0.75rem;
    }
    
    .value-title {
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
    }
    
    .value-description,
    .value-details {
      font-size: 0.75rem;
      line-height: 1.4;
    }
    
    .value-description {
      margin-bottom: 0.75rem;
    }
    
    /* Bike section adjustments */
    .bike-description {
      font-size: 1rem;
      margin-bottom: 1.5rem;
    }
    
    .specs-grid {
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
    
    .spec-card {
      padding: 0.75rem 0.5rem;
    }
    
    .spec-icon {
      width: 1.25rem;
      height: 1.25rem;
    }
    
    .spec-label {
      font-size: 0.75rem;
    }
    
    .spec-value {
      font-size: 0.875rem;
    }
    
    /* News cards adjustments */
    .news-grid {
      gap: 1.5rem;
    }
    
    .news-card-header {
      padding: 1rem 1rem 0.75rem;
    }
    
    .social-badge {
      font-size: 0.75rem;
      padding: 0.375rem 0.75rem;
    }
    
    .social-badge svg {
      width: 1rem;
      height: 1rem;
    }
    
    .embed-container {
      padding: 0 0.75rem 0.75rem;
      max-height: 400px;
    }
    
    .news-cta {
      padding: 0.875rem 1rem;
      font-size: 0.875rem;
    }
    
    /* Team section adjustments */
    .team-content {
      gap: 2rem;
      margin-bottom: 2.5rem;
    }
    
    .team-subtitle {
      font-size: 1.5rem;
    }
    
    .team-description {
      font-size: 1rem;
    }
    
    .departments-grid {
      gap: 0.75rem;
    }
    
    .dept-card {
      padding: 0.875rem;
    }
    
    .join-card {
      padding: 1.5rem;
    }
    
    .join-title {
      font-size: 1.25rem;
    }
    
    /* Logo loop mobile adjustments */
    .logoloop {
      --logoloop-logoHeight: 160px;
      --logoloop-gap: 24px;
      margin: 2rem 0;
      padding: 2rem 0;
    }
    
    .logoloop--scale-hover {
      padding-top: calc(var(--logoloop-logoHeight) * 0.15);
      padding-bottom: calc(var(--logoloop-logoHeight) * 0.15);
    }
    
    /* Partnership CTA mobile */
    .partnership-cta {
      padding: 2rem 1.5rem;
    }
    
    .partnership-title {
      font-size: 1.5rem;
    }
    
    .partnership-description {
      font-size: 1rem;
    }
    
    /* Footer mobile adjustments */
    .footer {
      padding-top: 3rem;
    }
    
    .footer-content {
      gap: 2rem;
      margin-bottom: 2rem;
    }
    
    .footer-brand {
      grid-column: span 1;
    }
    
    .footer-title {
      font-size: 1.5rem;
    }
    
    .footer-description {
      font-size: 0.875rem;
    }
    
    .footer-section-title {
      font-size: 1.125rem;
    }
    
    .footer-bottom {
      padding-top: 1.5rem;
      gap: 0.75rem;
    }
    
    /* Button adjustments */
    .btn {
      padding: 0.625rem 1.5rem;
      font-size: 0.875rem;
    }
    
    .btn-icon {
      width: 1rem;
      height: 1rem;
    }
    
    /* Mobile menu improvements */
    .nav-mobile {
      position: fixed;
      top: var(--header-height);
      left: 0;
      right: 0;
      background: hsla(0, 0%, 100%, 0.98);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid hsla(220, 13%, 91%, 0.5);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      z-index: 40;
      max-height: calc(100vh - var(--header-height));
      overflow-y: auto;
    }
    
    .nav-mobile-content {
      padding: 1rem;
    }
    
    .nav-mobile-link {
      padding: 1rem;
      font-size: 1rem;
    }
  }
  
  /* Extra small mobile devices */
  @media (max-width: 374px) {
    .info-title {
      font-size: 1.25rem;
    }
    
    .info-description {
      font-size: 0.75rem;
    }
    
    .stat-value {
      font-size: 1rem;
    }
    
    .stat-label {
      font-size: 0.5rem;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
    
    .value-title {
      font-size: 0.75rem;
    }
    
    .value-description,
    .value-details {
      font-size: 0.625rem;
    }
    
    .logoloop {
      --logoloop-logoHeight: 140px;
      --logoloop-gap: 20px;
    }
  }
  
  /* ============================================================================
     SMOOTH SCROLLING
     ============================================================================ */
  html {
    scroll-behavior: smooth;
  }
  
  /* ============================================================================
     FOCUS STYLES FOR ACCESSIBILITY
     ============================================================================ */
  button:focus,
  a:focus {
    outline: none;
  }
  
  button:focus-visible,
  a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  /* ============================================================================
     REDUCE MOTION FOR ACCESSIBILITY
     ============================================================================ */
  @media (prefers-reduced-motion: reduce) {
    .electric-border:hover .eb-layers {
      animation: none;
    }
    
    .eb-background-glow {
      animation: none;
    }
    
    .hero-logo-large {
      animation: none;
    }
  
    .logoloop__track {
      transform: translate3d(0, 0, 0) !important;
    }
    
    .logoloop__item img {
      transition: none !important;
    }
  }