:root {
    --primary: #6a11cb;
    --primary-light: #7c3aed;
    --accent: #2575fc;
    --accent-light: #00d2ff;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 10px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ====== NAVBAR ====== */
  .navbar {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
  }

  .navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 12px 0;
  }

  .logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .logo span {
    font-size: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .navbar-brand img { height: 42px; }

  .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--accent) !important;
    background: rgba(37,117,252,0.08);
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 50%;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after { width: 60%; }

  .navbar .form-control {
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    padding: 10px 24px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--bg-main);
    min-width: 280px;
  }

  .navbar .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37,117,252,0.12);
    background: #fff;
  }

  .navbar .btn-outline-success {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    border: 2px solid var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
  }

  .navbar .btn-outline-success:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,117,252,0.4);
    transform: translateY(-2px);
  }

  /* ====== USER STATUS ====== */
  #user-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
  }

  #welcome-message {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
  }

  #login-btn, #logout-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #login-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,117,252,0.3);
  }

  #login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,117,252,0.5);
  }

  #logout-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    box-shadow: 0 4px 15px rgba(239,68,68,0.3);
  }

  #logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239,68,68,0.5);
  }

  /* ====== HERO SECTION ====== */
  .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 120px 0 100px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
  }

  .hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,210,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
  }

  .hero-section .container { position: relative; z-index: 2; }

  .hero-section h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .hero-section h1 .highlight {
    background: linear-gradient(135deg, #00ff88, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-section p.lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  .hero-buttons .btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    transition: all 0.4s ease;
    letter-spacing: 0.3px;
  }

  .btn-hero-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }

  .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  }

  .btn-hero-outline {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
  }

  .btn-hero-outline:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    border-color: #fff;
  }

  /* ====== SECTIONS ====== */
  .section { padding: 100px 0; }

  .section-header { text-align: center; margin-bottom: 60px; }

  .section-header .badge-custom {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(37,117,252,0.1), rgba(0,210,255,0.1));
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* ====== INDUSTRY CARDS ====== */
  #industriesContainer {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 30px;
  }

  #industriesContainer::-webkit-scrollbar { width: 6px; }
  #industriesContainer::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
  #industriesContainer::-webkit-scrollbar-thumb { 
    background: linear-gradient(var(--accent), var(--accent-light)); 
    border-radius: 10px; 
  }

  .industry-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    height: 100%;
  }

  .industry-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,117,252,0.2);
  }

  .industry-card .card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,117,252,0.1), rgba(0,210,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
  }

  .industry-card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    transform: rotate(5deg) scale(1.1);
  }

  .industry-card h5 {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
  }

  .industry-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
  }

  .load-more-container {
    text-align: center;
    margin-top: 30px;
    position: relative;
    min-height: 50px;
  }

  .loading-spinner {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid rgba(37,117,252,0.1);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* ====== UNIVERSITIES ====== */
  .university-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(30%);
  }

  .university-card:hover .university-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
  }

  /* ====== TIMELINE ====== */
  .lifecycle-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px 0;
  }

  .lifecycle-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-light), #00ff88);
    border-radius: 2px;
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    width: calc(50% - 40px);
    transition: all 0.3s ease;
  }

  .timeline-item:nth-child(odd) { margin-left: 0; }
  .timeline-item:nth-child(even) { margin-left: calc(50% + 10px); }

  .timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37,117,252,0.2);
  }

  .timeline-item:nth-child(odd)::before { right: -50px; }
  .timeline-item:nth-child(even)::before { left: -50px; }

  .timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  /* ====== FOOTER ====== */
  footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: rgba(255,255,255,0.9);
    padding: 60px 0 30px;
    margin-top: 80px;
  }

  footer h5 {
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
  }

  footer p, footer li {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
  }

  footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  footer a:hover {
    color: var(--accent-light);
    padding-left: 4px;
  }

  footer .text-center {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* ====== RESPONSIVE ====== */
  @media (max-width: 992px) {
    .hero-section h1 { font-size: 2.8rem; }
    .navbar .form-control { min-width: 200px; }
    #industriesContainer { max-height: 600px; }
    .timeline-item { width: 100%; margin-left: 0 !important; }
    .timeline-item::before { left: -10px !important; right: auto !important; }
    .lifecycle-timeline::before { left: 10px; }
  }

  @media (max-width: 768px) {
    .hero-section { padding: 80px 0 60px; min-height: 500px; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p.lead { font-size: 1.05rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    #industriesContainer { max-height: 500px; }
  }

  @media (max-width: 576px) {
    .hero-section h1 { font-size: 1.8rem; }
    .navbar .form-control { min-width: 150px; }
    #industriesContainer { max-height: 400px; }
  }

  /* ====== CUSTOM UTILITIES ====== */
  .text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.hero-section {
	background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
	color: white;
	padding: 100px 0;
	margin-bottom: 50px;
}

.industry-card {
	transition: transform 0.3s;
	height: 100%;
}

.industry-card:hover {
	transform: translateY(-5px);
}

.university-logo {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.lifecycle-timeline {
	position: relative;
	max-width: 1000px;
	margin: 50px auto;
}

.timeline-item {
	position: relative;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
	content: '';
	position: absolute;
	top: 25px;
	left: -30px;
	width: 20px;
	height: 20px;
	background: #2575fc;
	border-radius: 50%;
}
.logo {
	font-size: 28px;
	font-weight: bold;
	color: BLUE;
	display: flex;
	align-items: center;
}

/* .university-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
} */

.load-more-container {
    text-align: center;
    margin-top: 20px;
    position: relative;
    min-height: 40px;
}

.loading-spinner {
    display: none;
    width: 2rem;
    height: 2rem;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动容器 */
#industriesContainer {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 30px;
}

/* 卡片悬停效果 */
.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 992px) {
    #industriesContainer {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    #industriesContainer {
        max-height: 500px;
    }
}

@media (max-width: 576px) {
    #industriesContainer {
        max-height: 400px;
    }
}