/* Modern Professional CSS for ADC Research Poster - IBDAA 2026 */
/* First Page Only - Hero Landing Page */

/* CSS Variables for consistent theming */
:root {
  --primary-blue: #0369a1;
  --secondary-teal: #0891b2;
  --dark-blue: #0c4a6e;
  --light-blue: #e0f2fe;
  --orange: #f97316;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  background: white;
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.header-title {
  display: flex;
  flex-direction: column;
}

.title-main {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.title-sub {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section - Full Landing Page */
.hero {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-teal) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Logo Section */
.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.logo-box {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  position: relative;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  border-radius: 1rem;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-box:hover::before {
  opacity: 1;
}

.logo-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo-box img {
  height: 6rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  display: block;
}

.logo-name {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partnership-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Title */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Author Section */
.author-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all 0.3s ease;
}

.author-section:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.author-photo {
  flex-shrink: 0;
}

.author-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
  background: white;
}

.author-info {
  flex: 1;
  text-align: left;
}

.author-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #0077b5;
  color: white;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.linkedin-badge:hover {
  background: #006399;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.author-title {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.author-affiliations {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.author-affiliation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  opacity: 0.95;
}

.author-affiliation i {
  width: 20px;
  text-align: center;
}

/* Metadata */
.hero-meta {
  font-size: 1.125rem;
  opacity: 0.95;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-divider {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Badge */
.hero-badge {
  background: linear-gradient(135deg, var(--orange), #dc2626);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Clickable Stat Card */
.stat-card-clickable {
  cursor: pointer;
  position: relative;
}

.stat-card-clickable:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.stat-hint {
  font-size: 0.75rem;
  opacity: 0;
  margin-top: 0.5rem;
  color: var(--orange);
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.stat-card-clickable:hover .stat-hint {
  opacity: 1;
}

.stat-card-clickable .stat-number {
  background: linear-gradient(to right, #ffffff, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-blue);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-indicator i {
  font-size: 2rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    gap: 1rem;
  }

  .header-title {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn span {
    display: none;
  }

  .btn {
    padding: 0.5rem 0.75rem;
  }

  .hero {
    min-height: calc(100vh - 60px);
  }

  .hero-container {
    padding: 2rem 1rem;
  }

  .hero-logos {
    gap: 1.5rem;
  }

  .logo-box {
    padding: 1.5rem;
    min-width: 160px;
  }

  .logo-box img {
    height: 4.5rem;
    max-width: 10rem;
  }

  .hero-meta {
    font-size: 0.875rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .meta-divider {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero-container {
    padding: 1.5rem 1rem;
  }

  .logo-box {
    padding: 1.25rem;
    min-width: 140px;
  }

  .logo-box img {
    height: 3.5rem;
    max-width: 8rem;
  }

  .hero-badge {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .author-photo img {
    width: 100px;
    height: 100px;
  }

  .author-info {
    text-align: center;
  }

  .author-name {
    font-size: 1.25rem;
  }

  .author-affiliations {
    align-items: center;
  }
}

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

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