/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3b82f6;
    font-weight: 700;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: 50px;
    margin-right: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6366f1;
    opacity: 0.8;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
    background: rgba(74, 144, 226, 0.08);
    transform: translateY(-1px);
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 8px;
    margin: 8px 0 0 0;
    border: 1px solid rgba(74, 144, 226, 0.1);
    z-index: 1002;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: rgba(74, 144, 226, 0.08);
    color: #3b82f6;
    transform: translateX(4px);
}

.dropdown-link i {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4);
}

.nav-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-cta:hover i {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(74, 144, 226, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #3b82f6;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Tablet Navigation */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .nav-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .logo-title {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 0;
        justify-content: flex-start;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .nav-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .nav-logo img {
        height: 42px;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::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="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-image {
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-highlight i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.feature-highlight span {
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* File Information specific subtitle styling */
.file-info-content .section-subtitle {
    margin: 0 0 1rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.file-info-content .section-subtitle i {
    color: #3b82f6;
}

/* Stats grid styling with indentation */
.stats-grid {
    margin-left: 1.5rem;
}

.stats-grid .stat-item {
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.stats-grid .stat-item strong {
    color: #374151;
}

/* ===== FEATURES CARDS ===== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.feature-card {
    background: white;
    padding: 2rem 2.5rem 2.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 650px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-icon::before {
    transform: rotate(-45deg) translate(100%, 100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #3b82f6 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    height: 2.6rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.feature-card:hover .feature-title {
    color: #3b82f6;
    transform: translateX(4px);
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
}

.feature-card:hover .feature-description {
    color: #475569;
    transform: translateY(-2px);
}

.feature-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    height: 5rem;
    align-items: flex-start;
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    height: 4.1rem;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-item i {
    color: #3b82f6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
    color: #2563eb;
}

.stat-item span {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.stat-item:hover span {
    color: #3b82f6;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    margin-top: auto;
    align-self: flex-start;
}

/* Featured card styles */
.feature-card.featured {
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.95) 100%);
    transform: scale(1.02);
}

.feature-card.featured:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(219, 234, 254, 0.98) 100%);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.feature-btn {
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.feature-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-btn:hover::before {
    left: 100%;
}

.feature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.feature-btn i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.feature-btn:hover i {
    transform: translateX(4px);
}

.feature-btn span {
    font-weight: 600;
}

.stat-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 0.75rem;
}

/* ===== STANDARDIZED SECTION TYPES ===== */
/* Light sections - for workflow, team, contact, etc. */
.section-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
}

.section-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Dark sections - for features, technologies, etc. */
.section-dark {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.4) 50%, transparent 100%);
}

/* Workflow timeline styles - specific to workflow functionality */

.workflow-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.workflow-step:nth-child(1) { animation-delay: 0.1s; }
.workflow-step:nth-child(2) { animation-delay: 0.2s; }
.workflow-step:nth-child(3) { animation-delay: 0.3s; }
.workflow-step:nth-child(4) { animation-delay: 0.4s; }
.workflow-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-connector {
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -4rem;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 50%, #e2e8f0 100%);
    border-radius: 2px;
    overflow: hidden;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    animation: progressLine 2s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes progressLine {
    to { height: 100%; }
}

.workflow-step:last-child .step-connector {
    display: none;
}

.step-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
}

.step-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #2563eb);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
}

.workflow-step:hover .step-circle {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6);
}

.workflow-step:hover .step-circle::before {
    opacity: 0.3;
    transform: scale(1);
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.workflow-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.workflow-step:hover .step-content::before {
    transform: scaleY(1);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.workflow-step:hover .step-title {
    color: #3b82f6;
}

.step-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.workflow-step:hover .step-description {
    color: #475569;
}

.step-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.feature-tag:hover::before {
    left: 100%;
}

/* ===== TECHNOLOGY SECTION ===== */
.technology {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.technology .section-title {
    color: white;
}

.technology .section-title::after {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.technology .section-subtitle {
    color: #cbd5e1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-badge {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

/* ===== TEAM SECTION STYLES ===== */
.team-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
}

.team-member:hover .member-avatar::before {
    transform: rotate(-45deg) translate(100%, 100%);
}

.team-member:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.member-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.member-contact:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.member-contact i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.member-contact a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.member-contact a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Researcher specific styles */
.team-member.researcher {
    border-left: 4px solid #10b981;
}

.team-member.researcher::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-member.researcher .member-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.team-member.researcher:hover .member-avatar {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

/* Student specific styles */
.team-member.student {
    border-left: 4px solid #f59e0b;
}

.team-member.student::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.team-member.student .member-avatar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.team-member.student:hover .member-avatar {
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* ===== ENHANCED TECH GRID STYLES ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Base tech category styles */
.tech-category {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

/* Category-specific gradients and colors */
.backend-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.frontend-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.scientific-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tools-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-category:hover::before {
    transform: scaleX(1);
}

.backend-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.frontend-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.scientific-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

.tools-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.2);
}

/* Category header styles */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.backend-category .category-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.frontend-category .category-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.scientific-category .category-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.tools-category .category-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.category-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Tech badges container */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Tech badge styles */
.tech-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.tech-badge:hover::before {
    left: 100%;
}

/* Backend badges */
.backend-category .tech-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}

.backend-category .tech-badge.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.backend-category .tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

/* Frontend badges */
.frontend-category .tech-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.2);
}

.frontend-category .tech-badge.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.frontend-category .tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

/* Scientific badges */
.scientific-category .tech-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #6b21a8;
    border-color: rgba(139, 92, 246, 0.2);
}

.scientific-category .tech-badge.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.scientific-category .tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

/* Tools badges */
.tools-category .tech-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.2);
}

.tools-category .tech-badge.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.tools-category .tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.tech-badge i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ENHANCEMENTS ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    text-align: left;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Contact Item Specific Colors */
.research-contact::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.research-contact:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.development-contact::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.development-contact:hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.2);
}

.documentation-contact::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.documentation-contact:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.research-contact .contact-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.development-contact .contact-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.documentation-contact .contact-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.contact-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(5px);
}

.contact-method i {
    color: #3b82f6;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-method span {
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.contact-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #3b82f6;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    transform: translateY(-2px);
}

/* Collaboration CTA */
.collaboration-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 41, 59, 0.3);
}

.collaboration-cta::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.3;
}

.collaboration-cta .cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Enhanced button styles for collaboration CTA */
.collaboration-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.collaboration-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* License Info */
.license-info {
    margin-top: 3rem;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.license-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
}

.license-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.license-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.license-text p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.license-text strong {
    color: #10b981;
    font-weight: 600;
}

.license-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.license-badge .badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.license-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* ===== KEY FEATURES SECTION ===== */
.key-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.key-feature-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    gap: 2.5rem;
    min-height: 200px;
}

.key-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.key-feature-card:hover::before {
    opacity: 1;
}

.key-feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.key-feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

.key-feature-visual {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.key-feature-card:hover .key-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4);
}

.key-feature-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.key-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.key-feature-header {
    margin-bottom: 0.5rem;
}

.key-feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    transition: color 0.3s ease;
}

.key-feature-card:hover .key-feature-title {
    color: #3b82f6;
}

.key-feature-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.key-feature-card:hover .key-feature-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.key-feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    transition: color 0.3s ease;
}

.key-feature-card:hover .key-feature-description {
    color: #475569;
}

.key-feature-metrics {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.metric-item:hover::before {
    left: 100%;
}

.metric-item:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Responsive Design for Key Features */
@media (max-width: 768px) {
    .key-feature-card {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .key-feature-visual {
        width: 120px;
        height: 120px;
    }
    
    .key-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .key-feature-header {
        margin-bottom: 0.5rem;
    }
    
    .key-feature-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .key-feature-title {
        font-size: 1.5rem;
    }
    
    .key-feature-metrics {
        justify-content: center;
        gap: 1rem;
    }
    
    .metric-item {
        padding: 0.75rem 1rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
}

/* Legacy styles for backward compatibility */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-highlight {
    margin-top: 1rem;
}

/* Enhanced Project Overview Cards */
.project-overview .features-grid {
    margin-top: 3rem;
}

.project-overview .feature-card {
    position: relative;
    overflow: hidden;
}

.project-overview .feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-overview .feature-card:hover::after {
    opacity: 1;
}

/* Enhanced Section Transitions - Now handled by standardized section types */

/* ===== PROJECT DASHBOARD STYLES ===== */
.project-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    margin-top: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.project-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.project-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.project-tagline {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

.project-status {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.project-status .status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
    animation: pulse 2s infinite;
}

.project-status .status-badge.live {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

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

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.metric-card.primary::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.metric-card.secondary::before {
    background: linear-gradient(90deg, #ed8936 0%, #dd6b20 100%);
}

.metric-card.success::before {
    background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
}

.metric-card.info::before {
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
}

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

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
}

.metric-card.primary .metric-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.metric-card.secondary .metric-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.metric-card.success .metric-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.metric-card.info .metric-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.metric-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
    margin-bottom: 20px;
}

.metric-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 1s ease;
    animation: progressLoad 2s ease-in-out;
}

.metric-card.secondary .progress-bar {
    background: linear-gradient(90deg, #ed8936 0%, #dd6b20 100%);
}

.metric-card.success .progress-bar {
    background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
}

.metric-card.info .progress-bar {
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
}

@keyframes progressLoad {
    0% { width: 0%; }
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .project-dashboard {
        padding: 25px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .project-logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metric-card {
        padding: 20px;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 2rem;
        min-width: auto;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .contact-method span {
        font-size: 0.9rem;
    }
    
    .contact-tags {
        gap: 0.4rem;
    }
    
    .contact-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .collaboration-cta {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .collaboration-cta .cta-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .license-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .license-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
    
    .license-text h4 {
        font-size: 1.2rem;
    }
    
    .license-badge {
        align-items: center;
    }
    
    .team-member, .tech-category, .contact-item {
        padding: 2rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Tech category responsive adjustments */
    .category-header {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-header h4 {
        font-size: 1.3rem;
    }
    
    .tech-badges {
        gap: 0.5rem;
    }
    
    .tech-badge {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .tech-badge i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-member, .tech-category, .contact-item {
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Contact section mobile small adjustments */
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-method span {
        font-size: 0.85rem;
    }
    
    .contact-tags {
        gap: 0.3rem;
        justify-content: center;
    }
    
    .contact-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .collaboration-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .cta-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
    
    .cta-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .license-content {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .license-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .license-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .license-text p {
        font-size: 0.9rem;
    }
    
    .license-badge .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Tech category mobile small adjustments */
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .category-header h4 {
        font-size: 1.2rem;
    }
    
    .tech-badges {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .tech-badge {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 0 1 auto;
    }
    
    .tech-badge i {
        font-size: 0.85rem;
    }
    
    .tech-badge span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}

/* Enhanced Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .team-member, .tech-category, .contact-item {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
    }
    
    .category-icon {
        animation: iconPulse 2s ease-in-out infinite;
    }
    
    .team-member:nth-child(1) { animation-delay: 0.1s; }
    .team-member:nth-child(2) { animation-delay: 0.2s; }
    .team-member:nth-child(3) { animation-delay: 0.3s; }
    
    .tech-category:nth-child(1) { animation-delay: 0.1s; }
    .tech-category:nth-child(2) { animation-delay: 0.2s; }
    .tech-category:nth-child(3) { animation-delay: 0.3s; }
    .tech-category:nth-child(4) { animation-delay: 0.4s; }
    
    .contact-item:nth-child(1) { animation-delay: 0.1s; }
    .contact-item:nth-child(2) { animation-delay: 0.2s; }
    .contact-item:nth-child(3) { animation-delay: 0.3s; }
    
    .collaboration-cta { 
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
        animation-delay: 0.5s;
    }
    
    .license-info {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
        animation-delay: 0.6s;
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== CONTACT AND COLLABORATION SECTION ===== */
.contact-collaboration {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #1e293b;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-brand {
    max-width: 350px;
}

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

.footer-logo img {
    height: 90px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.sponsor-logos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(51, 65, 85, 0.2);
    border: 1px solid rgba(100, 116, 139, 0.1);
    width: 100%;
    max-width: 200px;
    text-decoration: none;
    color: inherit;
}

.sponsor-item:hover {
    background: rgba(51, 65, 85, 0.4);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.sponsor-logo {
    width: 40px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
    opacity: 0.8;
    flex-shrink: 0;
}

.sponsor-item:hover .sponsor-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.sponsor-item:hover .sponsor-name {
    color: #60a5fa;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: #60a5fa;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    color: #94a3b8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-section ul li a i {
    font-size: 0.9rem;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #60a5fa;
}

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

@media (max-width: 768px) {
    /* Navbar Mobile Styles */
    .navbar {
        height: auto;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 0;
        justify-content: flex-start;
    }
    
    .nav-link i {
        font-size: 1.1rem;
        margin-right: 4px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(74, 144, 226, 0.05);
        margin: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-link {
        padding: 12px 40px;
        font-size: 0.95rem;
    }
    
    .dropdown-toggle .fa-chevron-down {
        margin-left: auto;
    }
    
    .nav-actions {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1003;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active ~ .nav-actions {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-cta {
        padding: 16px 32px;
        font-size: 1rem;
        border-radius: 50px;
        box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Existing responsive styles */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
        transform: none !important;
        scale: none !important;
    }
    
    .feature-card:hover {
        transform: translateY(-4px) !important;
        scale: 1 !important;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item {
        min-width: auto;
        justify-content: center;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-stats {
        justify-content: center;
    }
    
    .cta-actions {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .sponsor-logos {
        align-items: center;
        gap: 1rem;
    }
    
    .sponsor-item {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    /* Navbar Mobile Small Screens */
    .nav-container {
        height: 65px;
        padding: 0 16px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 16px;
    }
    
    .nav-logo img {
        height: 38px;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .nav-cta {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .nav-toggle {
        padding: 6px;
    }
    
    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }
    
    /* Existing styles */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .sponsor-logos {
        align-items: center;
        gap: 0.8rem;
    }
    
    .sponsor-item {
        max-width: 160px;
        padding: 0.5rem;
    }
    
    .sponsor-logo {
        width: 35px;
        height: 25px;
    }
    
    .sponsor-name {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== CONTOUR CREATOR STYLES ===== */

/* Full Width Workspace Layout */
.workspace-fullwidth {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Unified Workspace Container */
.workspace-unified {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 600px;
}

/* Horizontal Controls Bar */
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.controls-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Zoom controls styling */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments for unified workspace */
@media (max-width: 1024px) {
    .controls-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .controls-group {
        justify-content: center;
    }
    
    .zoom-controls {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .controls-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .control-btn {
        width: 100%;
        justify-content: center;
    }
    
    .workspace-unified {
        min-height: 500px;
    }
    
    .controls-bar {
        padding: 1rem;
    }
}

/* Floating Notifications */
.floating-notifications {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    max-width: 350px;
    pointer-events: none;
}

.floating-notification {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.floating-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.floating-notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.floating-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--notification-color, #3b82f6);
}

.floating-notification.info::before {
    background: #3b82f6;
}

.floating-notification.success::before {
    background: #10b981;
}

.floating-notification.error::before {
    background: #ef4444;
}

.floating-notification.warning::before {
    background: #f59e0b;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-icon.info {
    background: #3b82f6;
}

.notification-icon.success {
    background: #10b981;
}

.notification-icon.error {
    background: #ef4444;
}

.notification-icon.warning {
    background: #f59e0b;
}

.notification-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #374151;
    font-weight: 500;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #6b7280;
    background: rgba(0, 0, 0, 0.05);
}

/* Progress bar for notifications */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--notification-color, #3b82f6);
    transition: width linear;
    opacity: 0.7;
}

/* Mobile adjustments for floating notifications */
@media (max-width: 768px) {
    .floating-notifications {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .floating-notification {
        margin-bottom: 0.5rem;
        padding: 0.875rem 1.25rem;
    }
    
    .notification-text {
        font-size: 0.85rem;
    }
}

/* ===== ENHANCED CONTROL BUTTONS ===== */
.controls-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.control-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.control-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.control-btn.secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.control-btn.secondary:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.control-btn.success {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.control-btn.success:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.control-btn:disabled {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:disabled::before {
    display: none;
}

.control-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.control-btn:hover i {
    transform: scale(1.1);
}

.control-btn.interactive {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.control-btn.interactive:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.control-btn.interactive.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* ===== REFINE MODE CONTROLS ===== */
.refine-controls-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.refine-instructions {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.refine-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1e40af;
    font-weight: 500;
    font-size: 0.9rem;
}

.refine-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brush-size-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.brush-size-control label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
}

.brush-size-control input[type="range"] {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.brush-size-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
}

.brush-size-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.brush-size-control span {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    color: #3b82f6;
}

.refine-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.refine-btn.undo {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.refine-btn.undo:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.refine-btn.clear {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.refine-btn.clear:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.refine-btn.apply {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.refine-btn.apply:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.refine-btn.cancel {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.refine-btn.cancel:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

.refine-btn:disabled {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Refine mode button style */
.control-btn.refine {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.control-btn.refine:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.control-btn.refine.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5);
}

/* ===== ENHANCED ZOOM CONTROLS ===== */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.zoom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-btn:hover::before {
    opacity: 1;
}

.zoom-btn:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.zoom-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.zoom-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.zoom-btn:hover i {
    transform: scale(1.1);
}

.zoom-level {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    min-width: 45px;
    text-align: center;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== ENHANCED REGIONS LIST ===== */
.regions-list-enhanced {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    grid-auto-rows: min-content;
}

/* Regions card positioning */
.regions-card {
    margin-top: 2rem;
    width: 100%;
}

.regions-list-enhanced::-webkit-scrollbar {
    width: 8px;
}

.regions-list-enhanced::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.regions-list-enhanced::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 4px;
}

.regions-list-enhanced::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Region Item Styling */
.region-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.region-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--region-color, #3b82f6);
    transition: width 0.3s ease;
}

.region-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.region-item:hover::before {
    width: 6px;
}

.region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.region-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.region-color-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.region-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0;
}

.region-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
}

.region-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.region-stat i {
    font-size: 0.75rem;
    color: #94a3b8;
}

.region-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.region-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.region-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.region-btn:hover::before {
    left: 100%;
}

.region-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.region-btn.toggle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.region-btn.toggle.hidden {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.region-btn.delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.region-btn.export {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.region-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.region-btn:hover i {
    transform: scale(1.1);
}

/* Empty state */
.regions-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
}

.regions-empty i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}

.regions-empty h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #475569;
}

.regions-empty p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Legacy regions-list support */
.regions-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.regions-list::-webkit-scrollbar {
    width: 6px;
}

.regions-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.regions-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.regions-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* Regions list responsive design */
@media (min-width: 1600px) {
    .regions-list-enhanced {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .regions-list-enhanced {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .regions-list-enhanced {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .regions-list-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 599px) {
    .regions-list-enhanced {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .region-item {
        padding: 0.75rem;
    }
    
    .region-actions {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .region-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .controls-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .control-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .zoom-controls {
        gap: 0.375rem;
        padding: 0.375rem;
    }
    
    .zoom-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .controls-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .control-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .zoom-controls {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

.app-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.card-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.card-title p {
    margin: 0.5rem 0 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.card-actions {
    margin-left: auto;
}

/* Enhanced Upload Zone Styles */
.upload-zone-container {
    position: relative;
}

.upload-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone.drag-over {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.upload-zone.drag-over .upload-icon {
    transform: scale(1.2) rotate(10deg);
    color: #1d4ed8;
}

.upload-zone.uploading {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.upload-zone.success {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.upload-zone.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.upload-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.upload-zone:hover::before,
.upload-zone.drag-over::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.upload-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.upload-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.upload-icon {
    font-size: 4rem;
    color: #3b82f6;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-zone.drag-over .upload-animation {
    opacity: 1;
}

.upload-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.upload-pulse:nth-child(2) {
    animation-delay: 0.5s;
}

.upload-pulse:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.upload-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

.upload-subtitle {
    margin: 0 0 1.5rem 0;
    color: #64748b;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.format-badge {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-zone:hover .format-badge {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    transform: translateY(-2px);
}

.upload-size-limit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.upload-size-limit i {
    color: #3b82f6;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.upload-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.upload-button:hover::before {
    left: 100%;
}

.upload-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Progress States */
.upload-progress {
    text-align: center;
    padding: 2rem;
}

.progress-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
    transition: stroke-dashoffset 0.3s ease;
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 1rem;
    color: #3b82f6;
}

.progress-message {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.upload-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.upload-success h4 {
    color: #065f46;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.upload-success p {
    color: #047857;
    margin: 0;
}

.upload-error {
    text-align: center;
    padding: 2rem;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
    animation: errorShake 0.6s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.upload-error h4 {
    color: #991b1b;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.upload-error p {
    color: #dc2626;
    margin: 0 0 1rem 0;
}

.upload-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.upload-actions .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.upload-actions .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ===== LEGACY STYLES FOR EXISTING FUNCTIONALITY ===== */
/* Canvas container and styling */
.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    min-height: 400px;
}

canvas {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    max-width: 100%;
    height: auto;
}

/* File input styling */
input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="file"]:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Form labels */
label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

/* Control groups */
.control-group {
    margin-bottom: 1.5rem;
}

/* Button disabled state */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Coordinate display */
.coordinate-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #374151;
}

/* ===== CLOUD GENERATOR SPECIFIC STYLES ===== */

/* Progress bar for cloud generation */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-waiting { 
    background-color: #6c757d; 
}

.status-running { 
    background-color: #ffc107; 
    animation: pulse 1.5s infinite; 
}

.status-completed { 
    background-color: #28a745; 
}

.status-error { 
    background-color: #dc3545; 
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* CSV preview styling */
.csv-preview {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    max-height: 200px;
    overflow-y: auto;
}

/* ===== REDESIGNED SECTIONS STYLES ===== */

/* Required CSV Format Section */
.format-requirements {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.format-header {
    text-align: center;
    margin-bottom: 2rem;
}

.format-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.format-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.column-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.column-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.column-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.column-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.column-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.format-example {
    margin-bottom: 2rem;
}

.example-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.example-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.example-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.code-preview-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-preview {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.file-info i {
    color: #10b981;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.copy-text {
    font-weight: 500;
}

.code-content {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.line-numbers {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
    min-width: 40px;
    text-align: right;
}

.line-numbers span {
    line-height: 1.5;
}

.code-text {
    flex: 1;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
}

.code-text pre {
    margin: 0;
    color: white;
}

.code-text code {
    background: none;
    padding: 0;
    color: inherit;
}

.csv-header {
    color: #fbbf24;
    font-weight: 600;
}

.csv-data {
    color: #a7f3d0;
}

.format-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.tip-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tip-text {
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.download-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.download-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.download-link i {
    font-size: 0.8rem;
}

/* File Information Section */
.file-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.file-info-card .card-header {
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.file-info-card .card-title h3,
.file-info-card .card-title p {
    color: inherit;
}

.file-info-content {
    padding: 2rem;
    background: white;
}

.info-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 400px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.chart-canvas-wrapper canvas {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    height: auto;
}

.chart-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.fallback-content {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.fallback-content i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    display: block;
}

.fallback-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.fallback-content small {
    font-size: 0.9rem;
    color: #6b7280;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.chart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* Generation Options Section */
.options-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.options-card .card-header {
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.options-card .card-title h3,
.options-card .card-title p {
    color: inherit;
}

.options-content {
    padding: 2rem;
    background: white;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.option-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.option-content {
    text-align: left;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.option-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.option-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: #ecfdf5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.benefit-tag i {
    font-size: 0.7rem;
}

.generation-action {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-large span {
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-large:hover .btn-shine {
    left: 100%;
}

.action-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Progress Section */
.progress-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.progress-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #374151;
}

.progress-card .card-title h3,
.progress-card .card-title p {
    color: #374151;
}

.gradient-icon.processing {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    animation: pulse 2s infinite;
}

.progress-content {
    padding: 2rem;
    background: white;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.progress-percentage {
    font-weight: 600;
    color: #374151;
    min-width: 50px;
    text-align: right;
    font-size: 0.9rem;
}

.progress-text {
    text-align: center;
    color: #374151;
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
    padding: 0.5rem 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.step-item.active .step-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.1);
}

.step-item.completed .step-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.step-item.completed span {
    color: #10b981;
    font-weight: 600;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    color: #6b7280;
}

.step-item span {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    transition: color 0.3s ease;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-item.active .step-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.step-item span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.step-item.active span {
    color: #374151;
    font-weight: 600;
}

/* Results Section */
.results-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.results-card .card-header {
    background: transparent;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.results-card .card-title h3,
.results-card .card-title p {
    color: inherit;
}

.gradient-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.results-content {
    padding: 2rem;
    background: white;
}

.results-summary {
    margin-bottom: 2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.summary-info {
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
}

.results-visualization {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
}

/* Visualization Preview */
.visualization-preview {
    margin-bottom: 2rem;
}

.preview-title {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-title i {
    color: #10b981;
}

.result-image {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download-section {
    margin-top: 2rem;
}

.download-title {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-title i {
    color: #8b5cf6;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #374151;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: white;
}

.csv-btn .btn-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.png-btn .btn-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.svg-btn .btn-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.btn-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.download-btn:hover .btn-arrow {
    background: #e5e7eb;
    transform: scale(1.1);
}

.csv-btn:hover {
    border-color: #10b981;
}

.png-btn:hover {
    border-color: #3b82f6;
}

.svg-btn:hover {
    border-color: #8b5cf6;
}

/* Download Section */
.download-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 16px;
    overflow: hidden;
}

.download-card .card-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.download-card .card-title h3,
.download-card .card-title p {
    color: white;
}

.gradient-icon.download {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.download-content {
    padding: 2rem;
    background: white;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-right: 0.5rem;
    color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .columns-grid,
    .options-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .info-sections {
        grid-template-columns: 1fr;
    }
    
    .format-tips {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
}

/* Dropdown styles for reduce points option */
.form-select {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 140px;
}

.form-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-select option {
    background: #2d3748;
    color: white;
    padding: 8px;
}

/* ===== PRIVACY NOTICE STYLES ===== */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-dark .privacy-section {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.section-dark .privacy-section h3 {
    color: #1e293b;
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
}

.section-dark .privacy-section p {
    color: #374151;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.section-dark .privacy-section li {
    color: #374151;
}

.privacy-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.section-dark .privacy-section a {
    color: #2563eb;
}

.section-dark .privacy-section a:hover {
    color: #1d4ed8;
}

/* Responsive adjustments for privacy content */
@media (max-width: 768px) {
    .privacy-content {
        max-width: 100%;
    }
    
    .privacy-section {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 0.95rem;
    }
}