/* ========================================
   VIBES COLLABORATION PAGE - TSX STYLES
   ======================================== */

/* CSS Custom Properties - Design System */
:root {
  /* VIBES Brand Colors */
  --primary-purple: #9856D2;
  --secondary-purple: #3F304C;
  --accent-green: #90D255;
  --text-light: #EEEBF1;
  --text-dark: #2D2D2D;
  --background-gradient: linear-gradient(135deg, #9856D2 0%, #3F304C 90%);
  
  /* VIBES Typography */
  --font-primary: "P", sans-serif;
  --font-display: "P2", sans-serif;
  --font-compressed: "PT", sans-serif;
  
  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body.colabora-page {
  font-family: var(--font-primary);
  background: var(--background-gradient);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ========================================
   BACKGROUND COMPONENT
   ======================================== */

.background-component {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

/* ========================================
   HEADER COMPONENT
   ======================================== */

.header-component {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.header-logo {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
}

.logo-link {
  display: block;
  pointer-events: auto;
  text-decoration: none;
  transition: var(--transition-normal);
}

.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition-normal);
  transform: translateZ(0);
}

.logo-link:hover .logo-img {
  opacity: 0.8;
  transform: scale(1.05);
}

.header-copyright,
.header-brand {
  position: absolute;
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 400;
}

.header-copyright {
  bottom: var(--spacing-md);
  left: var(--spacing-md);
}

.header-brand {
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  font-weight: bold;
}

/* ========================================
   EXPERIENCE SECTION COMPONENT
   ======================================== */

.experience-section {
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg) var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border-top: none;
  border-bottom: none;
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.experience-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--accent-green);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  letter-spacing: -1px;
}

.experience-description {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-light);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   THREE COLUMN SECTION COMPONENT
   ======================================== */

.three-column-section {
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-2xl) var(--spacing-md);
  background: rgba(255, 255, 255, 0.01);
  border-top: none;
  border-bottom: none;
}

.column-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  align-items: stretch;
  justify-content: center;
}

.column-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: calc(var(--spacing-xl) * 1.5);
  backdrop-filter: blur(5px);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  justify-content: flex-start;
}

.column-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--primary-purple));
}

.column-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.18);
}

/* Ensure all columns have equal visibility */
.column-card:nth-child(1),
.column-card:nth-child(2),
.column-card:nth-child(3) {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(5px) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.column-card:nth-child(1):hover,
.column-card:nth-child(2):hover,
.column-card:nth-child(3):hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.column-header {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.column-header h3 {
  font-family: var(--font-compressed);
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.2;
}

.column-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.column-content p {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 var(--spacing-md) 0;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Feature List Styles */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.6;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  margin-top: 0.6rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(144, 210, 85, 0.4);
}

/* CTA styles removed - no longer needed */

/* ========================================
   CONTACT COMPONENT STYLES
   ======================================== */

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

.contact-info p {
  font-family: var(--font-primary);
  color: var(--text-light);
  margin: 0;
}

/* ========================================
   FORM STYLES - Make it smaller and centered
   ======================================== */
.footer-form {
  max-width: 50%;
  margin: 0 auto;
  padding: 0 1.5em;
}

/* Submit button styling */
.submit-btn {
  background: var(--accent-green);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
 
}

.submit-btn:hover {
  background: #7bb842;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(144, 210, 85, 0.3);
}

.submit-btn h3 {
  color: white;
  margin: 0;
  font-family: var(--font-compressed);
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
  .column-container {
    gap: var(--spacing-lg);
  }
  
  .column-card {
    padding: var(--spacing-lg);
    min-height: 450px;
  }
}

@media (max-width: 900px) {
  .header-logo {
    top: var(--spacing-sm);
    left: var(--spacing-sm);
  }
  
  .header-copyright,
  .header-brand {
    bottom: var(--spacing-sm);
    font-size: 14px;
  }
  
  .header-copyright {
    left: var(--spacing-sm);
  }
  
  .header-brand {
    right: var(--spacing-sm);
  }
  
  .logo-img {
    height: 40px;
  }
  
  /* Experience section responsive */
  .experience-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }
  
  .experience-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .experience-description {
    font-size: 1.3rem;
  }
  
  /* Three column responsive */
  .three-column-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }
  
  .column-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .column-card {
    padding: var(--spacing-lg);
    min-height: 400px;
  }
  
  .column-header h3 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    color: #FFFFFF;
  }
}

@media (max-width: 480px) {
  .experience-section,
  .three-column-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .column-card {
    padding: var(--spacing-md);
    min-height: 350px;
  }
  
  .column-header h3 {
    font-size: 1.25rem;
  }
  
  .column-content p {
    font-size: 1rem;
  }
  
  .cta-button {
    min-width: auto;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Hardware acceleration */
img {
  will-change: auto;
  transform: translateZ(0);
  image-rendering: optimizeQuality;
}

/* Lazy loading optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Animation optimization */
.column-card,
.cta-button {
  will-change: transform;
  transform: translateZ(0);
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus styles */
.cta-button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .column-card:hover {
    transform: none;
  }
  
  .cta-button:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .column-card {
    border-color: var(--text-light);
  }
  
  .column-content p {
    color: var(--text-light);
  }
}