/* Custom CSS for Conway Innovation Co */

:root {
    --primary-color: #007bff;
    --primary-soft: rgba(0, 123, 255, 0.1);
    --success-color: #28a745;
    --success-soft: rgba(40, 167, 69, 0.1);
    --warning-color: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.1);
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-light: #e0e0e0;
    --text-lighter: #f5f5f5;
    --transition-duration: 0.3s;
}

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

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-lighter);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    transition: background-color var(--transition-duration) ease;
    font-weight: 400;
}

/* Color-shifting background effect */
body.color-shift {
    background: linear-gradient(135deg, 
        hsl(var(--hue, 220), 100%, 5%) 0%, 
        hsl(var(--hue, 220), 50%, 10%) 25%,
        hsl(var(--hue, 220), 30%, 8%) 50%,
        hsl(var(--hue, 220), 50%, 10%) 75%,
        hsl(var(--hue, 220), 100%, 5%) 100%);
    transition: all 0.5s ease;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-duration) ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color var(--transition-duration) ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Improved text legibility */
.text-muted {
    color: var(--text-light) !important;
}

.text-light {
    color: var(--text-lighter) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-lighter);
    font-weight: 600;
}

p {
    color: var(--text-light);
}

.lead {
    color: var(--text-light) !important;
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section-sm {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all var(--transition-duration) ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    color: #000 !important;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: #000 !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-duration) ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.card-body {
    color: var(--dark-color);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: var(--dark-color);
}

.card p {
    color: #333;
}

.card .text-muted {
    color: #666 !important;
}

/* Vision Cards */
.vision-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-duration) ease;
    backdrop-filter: blur(10px);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.vision-card h1, .vision-card h2, .vision-card h3, .vision-card h4, .vision-card h5, .vision-card h6 {
    color: var(--dark-color);
}

.vision-card p {
    color: #333;
}

.vision-card .text-muted {
    color: #666 !important;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-duration) ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card h1, .feature-card h2, .feature-card h3, .feature-card h4, .feature-card h5, .feature-card h6 {
    color: var(--dark-color);
}

.feature-card p {
    color: #333;
}

.feature-card .text-muted {
    color: #666 !important;
}

/* Position Cards */
.position-card .card {
    transition: all var(--transition-duration) ease;
}

.position-card .card:hover {
    border-left: 4px solid var(--primary-color);
}

/* Culture Cards */
.culture-card {
    transition: all var(--transition-duration) ease;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.culture-card h1, .culture-card h2, .culture-card h3, .culture-card h4, .culture-card h5, .culture-card h6 {
    color: var(--dark-color);
}

.culture-card p {
    color: #333;
}

.culture-card .text-muted {
    color: #666 !important;
}

/* Step Cards */
.step-card {
    transition: all var(--transition-duration) ease;
}

.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

/* Section Badges */
.bg-primary-soft {
    background-color: var(--primary-soft) !important;
}

.section-badge .badge {
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all var(--transition-duration) ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Background Patterns */
.bg-pattern {
    position: relative;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Dark sections */
.bg-dark {
    background-color: #1a1a1a !important;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Stats */
.stats-row {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Badge styles */
.bg-primary-soft {
    background-color: var(--primary-soft) !important;
}

.bg-success-soft {
    background-color: var(--success-soft) !important;
}

.bg-warning-soft {
    background-color: var(--warning-soft) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

/* Code preview styling */
.code-preview {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.window-controls {
    display: flex;
    align-items: center;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.code-content .line {
    min-height: 1.5rem;
    display: flex;
    align-items: center;
}

/* Light background sections override */
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: var(--dark-color) !important;
}

.bg-light p {
    color: #333 !important;
}

.bg-light .lead {
    color: #333 !important;
}

.bg-light .text-muted {
    color: #666 !important;
}

.bg-light small {
    color: #666 !important;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Success metrics */
.success-metrics {
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

/* ============================================
   CONWAY LABS - FUTURISTIC STYLING
   ============================================ */

:root {
    --labs-bg-dark: #0f1419;
    --labs-bg-navy: #1a2332;
    --labs-bg-card: #1e2936;
    --labs-cyan: #17d1d8;
    --labs-orange: #f59e0b;
    --labs-text: #e2e8f0;
    --labs-text-muted: #94a3b8;
}

/* Labs Hero Section */
.labs-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--labs-bg-dark) 0%, var(--labs-bg-navy) 100%);
    position: relative;
    overflow: hidden;
}

.labs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(23, 209, 216, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.labs-hero-content {
    position: relative;
    z-index: 2;
}

.labs-hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.labs-title {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--labs-cyan) 0%, var(--labs-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.labs-subtitle {
    color: var(--labs-orange);
    font-size: 1.5rem;
    font-weight: 300;
}

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

.scroll-indicator i {
    font-size: 2rem;
    color: var(--labs-cyan);
}

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

/* Labs Sections */
.labs-section {
    background: var(--labs-bg-navy);
    color: var(--labs-text);
}

.labs-heading {
    color: white;
}

.labs-text {
    color: var(--labs-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Labs Value Cards */
.labs-value-card {
    background: var(--labs-bg-card);
    border: 1px solid rgba(23, 209, 216, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.labs-value-card:hover {
    border-color: var(--labs-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(23, 209, 216, 0.2);
}

.labs-value-card h5 {
    color: white;
}

/* Labs Lifecycle Cards */
.labs-lifecycle-card {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.labs-lifecycle-card:hover {
    transform: scale(1.05);
}

.labs-icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.labs-level-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(23, 209, 216, 0.3));
}

.labs-level-badge {
    display: inline-block;
    background: rgba(23, 209, 216, 0.2);
    border: 1px solid var(--labs-cyan);
    color: var(--labs-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Labs Roadmap Cards */
.labs-roadmap-card {
    background: var(--labs-bg-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.labs-roadmap-card:hover {
    border-color: var(--labs-orange);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.labs-roadmap-card h4 {
    color: white;
}

.labs-roadmap-list {
    list-style: none;
    padding: 0;
}

.labs-roadmap-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--labs-text);
}

.labs-roadmap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--labs-cyan);
    font-weight: bold;
}

/* Labs CTA Section */
.labs-cta {
    background: linear-gradient(135deg, var(--labs-bg-navy) 0%, var(--labs-bg-dark) 100%);
    border-top: 1px solid rgba(23, 209, 216, 0.2);
    border-bottom: 1px solid rgba(23, 209, 216, 0.2);
}

.labs-cta h3 {
    color: white;
}

.btn-labs-primary {
    background: linear-gradient(135deg, var(--labs-cyan) 0%, var(--labs-orange) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-labs-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 209, 216, 0.3);
    color: white;
}

/* Labs Footer Note */
.labs-footer-note {
    background: var(--labs-bg-dark);
    border-top: 1px solid rgba(23, 209, 216, 0.1);
}

/* Responsive Design for Labs */
@media (max-width: 768px) {
    .labs-title {
        font-size: 2.5rem;
    }
    
    .labs-subtitle {
        font-size: 1.2rem;
    }
    
    .labs-hero-logo {
        max-width: 300px;
    }
    
    .labs-icon-container {
        width: 80px;
        height: 80px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .labs-title {
        font-size: 2rem;
    }
    
    .labs-hero-logo {
        max-width: 250px;
    }
}

/* ============================================
   CONWAY LABS - CUSTOM NAVBAR
   ============================================ */

.labs-navbar {
    background: rgba(15, 20, 25, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(23, 209, 216, 0.2);
}

.labs-nav-logo {
    height: 50px;
    width: auto;
}

.labs-nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-left: 0.5rem;
}

.labs-navbar .nav-link {
    color: var(--labs-text) !important;
    transition: color 0.3s ease;
}

.labs-navbar .nav-link:hover {
    color: var(--labs-cyan) !important;
}

/* ============================================
   LAB NOTES HORIZONTAL SCROLL
   ============================================ */

.labs-notes {
    background: var(--labs-bg-dark);
    border-top: 1px solid rgba(23, 209, 216, 0.2);
}

.labs-notes-scroll-container {
    position: relative;
    overflow: hidden;
}

.labs-notes-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--labs-cyan) var(--labs-bg-card);
}

.labs-notes-scroll::-webkit-scrollbar {
    height: 8px;
}

.labs-notes-scroll::-webkit-scrollbar-track {
    background: var(--labs-bg-card);
    border-radius: 10px;
}

.labs-notes-scroll::-webkit-scrollbar-thumb {
    background: var(--labs-cyan);
    border-radius: 10px;
}

.labs-notes-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--labs-orange);
}

.labs-note-card {
    flex: 0 0 auto;
    width: 280px;
    background: var(--labs-bg-card);
    border: 1px solid rgba(23, 209, 216, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.labs-note-card:hover {
    border-color: var(--labs-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(23, 209, 216, 0.3);
}

.labs-note-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(23, 209, 216, 0.4));
}

.labs-note-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.labs-note-card:hover .labs-note-title {
    color: var(--labs-cyan);
}

@media (max-width: 768px) {
    .labs-note-card {
        width: 240px;
    }
    
    .labs-nav-logo {
        height: 40px;
    }
    
    .labs-nav-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   CUSTOMER SUCCESS PAGE STYLING
   ============================================ */

/* Hero Section with Neural Network Animation */
.cs-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.08) 0%, transparent 60%);
    opacity: 0.8;
    animation: neuralPulse 8s ease-in-out infinite;
}

.neural-network-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 123, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 123, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.neural-network-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 123, 255, 0.05) 50%,
        transparent 70%
    );
    animation: gradientShift 15s ease-in-out infinite;
}

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

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

@keyframes gradientShift {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.cs-hero-content {
    animation: fadeInUp 1s ease-out;
}

.cs-hero-buttons {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Benefit Cards */
.cs-benefit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cs-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}

.cs-benefit-icon {
    opacity: 0.9;
}

/* Service Tier Cards */
.cs-tier-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cs-tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.cs-tier-featured {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.cs-tier-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
}

.cs-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cs-tier-header h3 {
    color: var(--dark-color);
}

.cs-tier-price {
    color: var(--dark-color);
}

.cs-tier-features ul li {
    color: #333;
    padding: 0.5rem 0;
}

.cs-tier-ideal {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

/* Service Cards */
.cs-service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.cs-service-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.cs-service-card h4 {
    color: var(--dark-color);
}

.cs-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.cs-service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Training Section */
.cs-training-visual {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 16px;
    border: 2px dashed var(--primary-color);
}

.cs-training-pricing {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Trust Cards */
.cs-trust-card {
    transition: all 0.3s ease;
}

.cs-trust-card:hover {
    transform: scale(1.05);
}

/* Typography Overrides for CS Page */
.cs-tier-card h1, .cs-tier-card h2, .cs-tier-card h3, .cs-tier-card h4, .cs-tier-card h5, .cs-tier-card h6 {
    color: var(--dark-color);
}

.cs-tier-card p {
    color: #333;
}

.cs-tier-card .text-muted {
    color: #666 !important;
}

.cs-service-card p {
    color: #333;
}

.cs-service-card .text-muted {
    color: #666 !important;
}

/* Responsive Design for CS Page */
@media (max-width: 992px) {
    .cs-hero h1 {
        font-size: 2.5rem;
    }
    
    .cs-tier-featured::before {
        height: 3px;
    }
}

@media (max-width: 768px) {
    .cs-hero h1 {
        font-size: 2rem;
    }
    
    .cs-hero .lead {
        font-size: 1rem;
    }
    
    .cs-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cs-hero-buttons .btn {
        width: 100%;
    }
    
    .cs-service-card {
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* ============================================
   REST RACE PROJECT PAGE STYLING
   ============================================ */

:root {
    --rr-primary: #f59e0b;
    --rr-primary-light: #fbbf24;
    --rr-primary-dark: #d97706;
    --rr-accent: #17d1d8;
    --rr-bg-dark: #0f1419;
    --rr-bg-card: #1e2936;
}

/* Hero Section */
.rr-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--rr-bg-dark) 0%, #1a2332 100%);
    position: relative;
    overflow: hidden;
}

.rr-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(23, 209, 216, 0.1) 0%, transparent 50%);
    opacity: 0.8;
    animation: rrPulse 8s ease-in-out infinite;
}

.rr-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(245, 158, 11, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(245, 158, 11, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: rrGridMove 25s linear infinite;
    opacity: 0.2;
}

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

@keyframes rrGridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.rr-level-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid var(--rr-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.rr-level-icon {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

.rr-level-icon-large {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.7));
    animation: rrIconPulse 3s ease-in-out infinite;
}

@keyframes rrIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.9));
    }
}

.rr-level-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rr-primary);
    letter-spacing: 1px;
}

.rr-title {
    color: white;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.rr-subtitle {
    color: var(--rr-primary-light);
    font-size: 1.75rem;
}

/* Sections */
.rr-section {
    background: var(--labs-bg-navy);
    color: var(--labs-text);
}

.rr-alt-bg {
    background: var(--labs-bg-dark);
}

.rr-heading {
    color: white;
}

/* Concept Cards */
.rr-concept-card {
    background: var(--rr-bg-card);
    border-left: 4px solid var(--rr-primary);
    border-radius: 12px;
    color: var(--labs-text);
}

.rr-feature-card {
    background: var(--rr-bg-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rr-feature-card:hover {
    border-color: var(--rr-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.rr-icon {
    color: var(--rr-primary);
}

.rr-feature-card h5 {
    color: white;
}

/* Status Cards */
.rr-status-card {
    background: var(--rr-bg-card);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.rr-status-card h4, .rr-status-card h5 {
    color: white;
}

.rr-status-card p {
    color: var(--labs-text);
}

.rr-status-icon {
    color: var(--rr-primary);
}

.rr-pivot-card {
    background: var(--rr-bg-card);
    border-radius: 12px;
    border: 1px solid rgba(23, 209, 216, 0.2);
}

.rr-pivot-card h4 {
    color: white;
}

.rr-pivot-card p {
    color: var(--labs-text);
}

.rr-pivot-item {
    text-align: center;
}

.rr-pivot-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rr-primary), var(--rr-primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.rr-pivot-item h6 {
    color: white;
}

/* Funding Section */
.rr-funding-hero {
    background: linear-gradient(135deg, var(--rr-primary) 0%, var(--rr-primary-dark) 100%);
    border-radius: 16px;
    color: white;
}

.rr-funding-amount {
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.rr-budget-card {
    background: var(--rr-bg-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.rr-budget-card h4 {
    color: white;
}

.rr-budget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rr-budget-label {
    font-weight: 600;
    color: white;
}

.rr-budget-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rr-primary);
}

.rr-budget-desc {
    font-size: 0.875rem;
    color: var(--labs-text-muted);
    padding: 0.5rem 0 1rem;
}

/* Roadmap */
.rr-roadmap-timeline {
    position: relative;
    padding-left: 60px;
}

.rr-roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--rr-primary), var(--rr-accent));
}

.rr-roadmap-item {
    position: relative;
    margin-bottom: 3rem;
}

.rr-roadmap-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.rr-roadmap-number {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.rr-roadmap-content {
    background: var(--rr-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--rr-primary);
}

.rr-roadmap-phase {
    color: var(--rr-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.rr-roadmap-content h5 {
    color: white;
}

.rr-roadmap-content p {
    color: var(--labs-text);
    margin-bottom: 0;
}

/* Join Cards */
.rr-join-card {
    background: var(--rr-bg-card);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.rr-join-card:hover {
    border-color: var(--rr-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.rr-join-card h4 {
    color: white;
}

.rr-join-card p {
    color: var(--labs-text);
}

/* CTA Section */
.rr-cta {
    background: linear-gradient(135deg, var(--rr-bg-dark) 0%, var(--labs-bg-navy) 100%);
    border-top: 2px solid rgba(245, 158, 11, 0.3);
}

/* Buttons */
.btn-rr-primary {
    background: linear-gradient(135deg, var(--rr-primary), var(--rr-primary-dark));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-rr-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-outline-rr-primary {
    border: 2px solid var(--rr-primary);
    color: var(--rr-primary);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-rr-primary:hover {
    background: var(--rr-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .rr-funding-amount {
        font-size: 3rem;
    }
    
    .rr-roadmap-timeline {
        padding-left: 50px;
    }
    
    .rr-roadmap-marker {
        left: -50px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .rr-title {
        font-size: 3rem;
    }
    
    .rr-subtitle {
        font-size: 1.25rem;
    }
    
    .rr-funding-amount {
        font-size: 2.5rem;
    }
    
    .rr-roadmap-timeline {
        padding-left: 0;
    }
    
    .rr-roadmap-timeline::before {
        display: none;
    }
    
    .rr-roadmap-marker {
        position: static;
        margin: 0 auto 1rem;
    }
}

/* ============================================
   LAB PROJECTS SECTION
   ============================================ */

.labs-projects {
    background: var(--labs-bg-navy);
}

.labs-project-tile {
    flex: 0 0 auto;
    width: 320px;
    background: var(--labs-bg-card);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.labs-project-tile:hover {
    border-color: var(--rr-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
    text-decoration: none;
}

.labs-project-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.labs-project-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5));
}

.labs-project-level-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--rr-primary);
    color: var(--rr-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.labs-project-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.labs-project-tagline {
    color: var(--labs-text);
    font-size: 1rem;
    margin-bottom: 0;
}

.labs-project-tile:hover .labs-project-title {
    color: var(--rr-primary);
}

@media (max-width: 768px) {
    .labs-project-tile {
        width: 280px;
    }
}

/* ============================================
   MODEL TRAINING PLATFORM (LEVEL 3) STYLING
   ============================================ */

:root {
    --mtp-indigo: #2B1D58;
    --mtp-indigo-light: #3d2876;
    --mtp-orange: #F48A2E;
    --mtp-teal: #23B6B6;
    --mtp-violet: #6B4CF6;
    --mtp-bg-dark: #0f1419;
    --mtp-bg-card: #1a1f2e;
}

/* Hero Section */
.mtp-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--mtp-indigo) 0%, #1a1432 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.mtp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(107, 76, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(35, 182, 182, 0.15) 0%, transparent 50%);
    opacity: 0.9;
    animation: mtpPulse 10s ease-in-out infinite;
}

.mtp-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(107, 76, 246, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(35, 182, 182, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: mtpGridMove 30s linear infinite;
    opacity: 0.3;
}

@keyframes mtpPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

@keyframes mtpGridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(80px, 80px);
    }
}

.mtp-level-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(107, 76, 246, 0.2);
    border: 2px solid var(--mtp-violet);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.mtp-level-icon-large {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(107, 76, 246, 0.7));
    animation: mtpIconPulse 3s ease-in-out infinite;
}

@keyframes mtpIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(107, 76, 246, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(107, 76, 246, 0.9));
    }
}

.mtp-level-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mtp-violet);
    letter-spacing: 1px;
}

.mtp-title {
    color: white;
    text-shadow: 0 0 40px rgba(107, 76, 246, 0.4);
    font-family: 'Space Grotesk', sans-serif;
}

.mtp-subtitle {
    color: var(--mtp-teal);
    font-size: 1.5rem;
    font-family: 'Spectral', serif;
}

/* Sections */
.mtp-section {
    background: var(--labs-bg-navy);
    color: var(--labs-text);
}

.mtp-alt-bg {
    background: var(--labs-bg-dark);
}

.mtp-heading {
    color: var(--mtp-teal);
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 20px rgba(35, 182, 182, 0.3);
}

.mtp-text {
    color: var(--labs-text);
}

/* Cards */
.mtp-vision-card {
    background: linear-gradient(135deg, rgba(107, 76, 246, 0.1) 0%, rgba(35, 182, 182, 0.1) 100%);
    border-left: 4px solid var(--mtp-violet);
    border-radius: 16px;
    border: 1px solid rgba(107, 76, 246, 0.3);
}

.mtp-tech-card {
    background: var(--mtp-bg-card);
    border: 1px solid rgba(107, 76, 246, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mtp-tech-card:hover {
    border-color: var(--mtp-violet);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 76, 246, 0.3);
}

.mtp-tech-card h5 {
    color: white;
}

.mtp-icon {
    color: var(--mtp-teal);
}

.mtp-impact-card {
    background: linear-gradient(135deg, var(--mtp-violet) 0%, var(--mtp-teal) 100%);
    border-radius: 16px;
    color: white;
}

.mtp-impact-card h4 {
    color: white;
}

/* Capability Cards */
.mtp-capability-card {
    background: var(--mtp-bg-card);
    border: 1px solid rgba(107, 76, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mtp-capability-card:hover {
    border-color: var(--mtp-violet);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 76, 246, 0.3);
}

.mtp-capability-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(107, 76, 246, 0.15) 0%, rgba(35, 182, 182, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mtp-capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mtp-capability-content h5 {
    color: white;
}

.mtp-capability-content p {
    color: var(--labs-text);
}

/* Governance Cards */
.mtp-governance-card {
    background: var(--mtp-bg-card);
    border: 2px solid rgba(35, 182, 182, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mtp-governance-card:hover {
    border-color: var(--mtp-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(35, 182, 182, 0.3);
}

.mtp-governance-card h5 {
    color: white;
}

/* Access Banner */
.mtp-access-banner {
    background: linear-gradient(135deg, rgba(107, 76, 246, 0.15) 0%, rgba(35, 182, 182, 0.1) 100%);
    border: 2px solid var(--mtp-violet);
    border-radius: 20px;
}

.mtp-access-banner h2 {
    color: white;
    text-shadow: 0 0 30px rgba(107, 76, 246, 0.5);
}

/* CTA Section */
.mtp-cta {
    background: linear-gradient(135deg, var(--mtp-indigo) 0%, var(--labs-bg-dark) 100%);
    border-top: 2px solid rgba(107, 76, 246, 0.3);
}

.mtp-cta h2 {
    color: white;
}

/* Buttons */
.btn-mtp-primary {
    background: linear-gradient(135deg, var(--mtp-violet), var(--mtp-teal));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-mtp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 76, 246, 0.5);
    color: white;
}

.btn-outline-mtp-primary {
    border: 2px solid var(--mtp-violet);
    color: var(--mtp-violet);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-mtp-primary:hover {
    background: var(--mtp-violet);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 76, 246, 0.4);
}

/* Level 3 Project Tiles */
.labs-project-tile.level-3 {
    border-color: rgba(107, 76, 246, 0.3);
}

.labs-project-tile.level-3:hover {
    border-color: var(--mtp-violet);
    box-shadow: 0 15px 40px rgba(107, 76, 246, 0.3);
}

.labs-project-tile.level-3 .labs-project-icon {
    filter: drop-shadow(0 0 15px rgba(107, 76, 246, 0.5));
}

.labs-project-tile.level-3 .labs-project-level-badge {
    background: rgba(107, 76, 246, 0.2);
    border-color: var(--mtp-violet);
    color: var(--mtp-violet);
}

.labs-project-tile.level-3:hover .labs-project-title {
    color: var(--mtp-violet);
}

/* Responsive Design */
@media (max-width: 992px) {
    .mtp-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mtp-title {
        font-size: 2.5rem;
    }
    
    .mtp-subtitle {
        font-size: 1.25rem;
    }
    
    .mtp-capability-image {
        height: 150px;
    }
}

/* ============================================
   USER UNDERSTANDING (LEVEL 2) STYLING
   ============================================ */

:root {
    --uu-emerald: #10B981;
    --uu-emerald-light: #34D399;
    --uu-emerald-dark: #059669;
    --uu-cyan: #06B6D4;
    --uu-cyan-light: #22D3EE;
    --uu-teal: #14B8A6;
    --uu-blue: #3B82F6;
    --uu-bg-dark: #0a1520;
    --uu-bg-card: #1a2332;
}

/* Hero Section */
.uu-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1f1a 0%, var(--uu-bg-dark) 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.uu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
    opacity: 0.9;
    animation: uuPulse 12s ease-in-out infinite;
}

.uu-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 70px 70px;
    animation: uuGridMove 28s linear infinite;
    opacity: 0.3;
}

@keyframes uuPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes uuGridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(70px, 70px);
    }
}

.uu-level-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--uu-emerald);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.uu-level-icon-large {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
    animation: uuIconPulse 3s ease-in-out infinite;
}

@keyframes uuIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.8));
    }
}

.uu-level-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--uu-emerald);
    letter-spacing: 1px;
}

.uu-title {
    color: white;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    font-family: 'Space Grotesk', sans-serif;
}

.uu-subtitle {
    color: var(--uu-cyan-light);
    font-size: 1.5rem;
    font-family: 'Spectral', serif;
}

/* Sections */
.uu-section {
    background: var(--labs-bg-navy);
    color: var(--labs-text);
}

.uu-alt-bg {
    background: var(--labs-bg-dark);
}

.uu-heading {
    color: var(--uu-emerald);
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.uu-icon {
    color: var(--uu-emerald-light);
}

/* Vision Card */
.uu-vision-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-left: 4px solid var(--uu-emerald);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.uu-vision-card h3 {
    color: white;
}

/* Problem Cards */
.uu-problem-card {
    background: var(--uu-bg-card);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.uu-problem-card:hover {
    border-color: var(--uu-emerald);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.uu-problem-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--uu-emerald-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.uu-problem-card h5 {
    color: white;
}

.uu-stat {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--uu-emerald);
    padding: 1rem;
    border-radius: 8px;
}

.uu-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--uu-emerald-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.uu-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0.25rem 0;
}

/* Dimensions Card */
.uu-dimensions-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
}

.uu-dimensions-card h3 {
    color: white;
}

.uu-dimension-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uu-emerald), var(--uu-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.uu-dimension-item h6 {
    color: white;
}

/* Hypothesis Cards */
.uu-research-intro {
    background: var(--uu-bg-card);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
}

.uu-research-intro h4 {
    color: white;
}

.uu-challenge-item {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--uu-emerald);
}

.uu-challenge-item h6 {
    color: var(--uu-emerald-light);
}

.uu-hypothesis-card {
    background: var(--uu-bg-card);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.uu-hypothesis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--uu-emerald), var(--uu-cyan));
}

.uu-hypothesis-card:hover {
    border-color: var(--uu-emerald);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.uu-hypothesis-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uu-emerald), var(--uu-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.uu-hypothesis-card h5 {
    color: white;
}

.uu-hypothesis-details {
    background: rgba(16, 185, 129, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Research Status */
.uu-research-status {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 2px solid var(--uu-emerald);
    border-radius: 16px;
}

.uu-research-status h4 {
    color: white;
}

/* Ecosystem Cards */
.uu-ecosystem-card {
    background: var(--uu-bg-card);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.uu-ecosystem-card:hover {
    border-color: var(--uu-emerald);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.uu-ecosystem-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--uu-emerald), var(--uu-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.uu-ecosystem-card h5 {
    color: white;
}

.uu-ecosystem-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--uu-emerald);
    color: var(--uu-emerald-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.uu-demo-badge {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--uu-cyan);
    color: var(--uu-cyan-light);
}

.uu-integration-details i {
    color: var(--uu-emerald-light);
}

.uu-lab-note-card {
    background: var(--uu-bg-card);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
}

.uu-lab-note-card h4 {
    color: white;
}

/* Demo Section */
.uu-demo-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 2px solid var(--uu-emerald);
    border-radius: 20px;
}

.uu-demo-banner h2 {
    color: white;
}

.uu-demo-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: #FCD34D;
}

/* CTA Section */
.uu-cta {
    background: linear-gradient(135deg, #0a1f1a 0%, var(--labs-bg-dark) 100%);
    border-top: 2px solid rgba(16, 185, 129, 0.3);
}

.uu-cta h2 {
    color: white;
}

.uu-cta-feature {
    color: var(--labs-text);
}

.uu-cta-feature h5 {
    color: white;
}

/* Buttons */
.btn-uu-primary {
    background: linear-gradient(135deg, var(--uu-emerald), var(--uu-cyan));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-uu-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-outline-uu-primary {
    border: 2px solid var(--uu-emerald);
    color: var(--uu-emerald);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-uu-primary:hover {
    background: var(--uu-emerald);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-uu-secondary {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--uu-emerald);
    color: var(--uu-emerald-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-uu-secondary:hover {
    background: var(--uu-emerald);
    color: white;
    transform: translateY(-2px);
}

/* Level 2 Project Tiles */
.labs-project-tile.level-2 {
    border-color: rgba(16, 185, 129, 0.3);
}

.labs-project-tile.level-2:hover {
    border-color: var(--uu-emerald);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.labs-project-tile.level-2 .labs-project-icon {
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5));
}

.labs-project-tile.level-2 .labs-project-level-badge {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--uu-emerald);
    color: var(--uu-emerald);
}

.labs-project-tile.level-2:hover .labs-project-title {
    color: var(--uu-emerald);
}

/* Responsive Design */
@media (max-width: 992px) {
    .uu-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .uu-title {
        font-size: 2.5rem;
    }
    
    .uu-subtitle {
        font-size: 1.25rem;
    }
}
