/* ============================================
   EMPIRE-X - Design System
   New Color Palette: Modern Tech Gradient
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Modern Tech Gradient Palette */
    --color-primary: #6366f1;
    --color-primary-light: #8b5cf6;
    --color-secondary: #ec4899;
    --color-accent: #06b6d4;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    
    /* Backgrounds */
    --color-bg: #0f0f1a;
    --color-bg-light: #1a1a2e;
    --color-bg-card: #16162a;
    --color-bg-elevated: #252542;
    
    /* Text */
    --color-text: #ffffff;
    --color-text-muted: #a1a1aa;
    --color-text-dim: #71717a;
    
    /* Borders */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(99, 102, 241, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.cursor.hover .cursor-circle {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    transition: all var(--transition-normal);
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-x {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 600;
}

.nav-link.cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--color-primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Section Headers */
.section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Home Hero - Split Screen */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
}

.hero-3d-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.home-content {
    position: relative;
    z-index: 1;
    padding: 0 4rem;
    max-width: 700px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--color-primary);
}

.tag-text {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    display: flex;
    gap: 3rem;
    z-index: 1;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Services Section - Horizontal Scroll */
.services-section {
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.services-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.services-track {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
    width: max-content;
}

.service-card-large {
    width: 400px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: all var(--transition-normal);
}

.service-card-large:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-10px);
}

.service-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.service-card-large h3 {
    margin-bottom: 1rem;
}

.service-card-large p {
    margin-bottom: 1.5rem;
}

.service-card-large ul {
    list-style: none;
}

.service-card-large li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card-large li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Featured Work - Masonry */
.featured-work {
    padding: var(--space-2xl) 0;
}

.work-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.work-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.work-item.tall {
    grid-row: span 2;
}

.work-item.wide {
    grid-column: span 2;
}

.work-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.work-3d-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.95), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-category {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.work-overlay h3 {
    margin-bottom: 0.5rem;
}

.work-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.work-link:hover {
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

/* ============================================
   TEACH PAGE STYLES
   ============================================ */

/* Teach Hero - Asymmetric */
.teach-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    overflow: hidden;
}

.teach-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.teach-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.teach-tag {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
}

.teach-title {
    margin-bottom: 1.5rem;
}

.teach-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.teach-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.teach-floating-cards {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.float-card {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.float-card.card-1 {
    top: -150px;
    right: 100px;
    animation-delay: 0s;
}

.float-card.card-2 {
    top: 0;
    right: -50px;
    animation-delay: 2s;
}

.float-card.card-3 {
    top: 150px;
    right: 50px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.float-card span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

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

/* Teach Stats Bar */
.teach-stats {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}

/* Courses Accordion */
.courses-section {
    padding: var(--space-2xl) 0;
}

.courses-accordion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.course-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.course-panel:hover {
    border-color: var(--color-border-hover);
}

.course-panel.active {
    border-color: var(--color-primary);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--color-bg-card);
}

.panel-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.panel-header h3 {
    flex: 1;
    margin: 0;
}

.panel-arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-normal);
}

.course-panel.active .panel-arrow {
    transform: rotate(90deg);
}

.panel-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-bg-light);
}

.course-panel.active .panel-content {
    display: grid;
}

.panel-image {
    border-radius: var(--radius-md);
    min-height: 250px;
}

.panel-info h4 {
    margin-bottom: 1rem;
}

.panel-info p {
    margin-bottom: 1.5rem;
}

.panel-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.panel-info li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* Mentors Carousel */
.mentors-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-light);
}

.mentors-carousel {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.mentors-carousel::-webkit-scrollbar {
    display: none;
}

.mentor-card {
    flex: 0 0 280px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.mentor-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.mentor-card h4 {
    margin-bottom: 0.25rem;
}

.mentor-role {
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.mentor-bio {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.mentor-courses {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

/* Testimonials Timeline */
.testimonials-timeline {
    padding: var(--space-2xl) 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-bg);
}

.timeline-content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.timeline-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.timeline-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
}

.author-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ============================================
   PROJECT PAGE STYLES
   ============================================ */

/* Project Hero */
.project-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 4rem 4rem;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.project-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.project-tag {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.project-title {
    margin-bottom: 1.5rem;
}

.project-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.project-hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

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

.ph-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
}

.ph-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filter Bar */
.filter-bar {
    position: sticky;
    top: 80px;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text);
}

/* Bento Grid */
.projects-bento {
    padding: var(--space-xl) 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.bento-item:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-image {
    width: 100%;
    height: 60%;
    position: relative;
}

.bento-3d-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.bento-content {
    padding: 1.5rem;
}

.bento-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.bento-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bento-year {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.bento-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.bento-item p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bento-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bento-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.bento-link {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.bento-item:hover .bento-link {
    opacity: 1;
    transform: translateX(0);
}

/* Process Section */
.process-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-light);
}

.process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
}

.process-line {
    position: absolute;
    top: 50px;
    left: 4rem;
    right: 4rem;
    height: 2px;
    background: var(--gradient-primary);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* Awards Section */
.awards-section {
    padding: var(--space-2xl) 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.award-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.award-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
}

.award-year {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-card h4 {
    margin-bottom: 0.5rem;
}

.award-card p {
    font-size: 0.9rem;
}

/* Clients Marquee */
.clients-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.clients-marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.client-logo:hover {
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 2rem;
}

.footer-logo .logo-x {
    font-size: 2rem;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.footer-column a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 2rem 4rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .home-hero {
        grid-template-columns: 1fr;
    }
    
    .hero-3d-container {
        width: 100%;
        opacity: 0.3;
    }
    
    .home-content {
        padding: 0 2rem;
    }
    
    .hero-stats {
        position: relative;
        left: 2rem;
        bottom: 2rem;
    }
    
    .work-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .work-item.tall,
    .work-item.wide {
        grid-row: span 1;
        grid-column: span 1;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item.large,
    .bento-item.wide {
        grid-column: span 2;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-line {
        display: none;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teach-floating-cards {
        display: none;
    }
    
    .stat-bar {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .section-header,
    .services-track,
    .work-masonry,
    .bento-grid,
    .courses-accordion,
    .mentors-carousel,
    .timeline,
    .process-timeline,
    .awards-grid,
    .filter-container,
    .footer-content,
    .footer-bottom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .home-content,
    .teach-hero,
    .project-hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .work-masonry {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-item.large,
    .bento-item.wide,
    .bento-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .panel-content {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    body {
        cursor: auto;
    }
    
    .cursor {
        display: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-slow);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-text);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}