:root {
    /* Gradient-based color palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Film photography inspired gradients */
    --film-vintage: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --film-noir: linear-gradient(135deg, #434343 0%, #000000 100%);
    --film-sepia: linear-gradient(135deg, #d2691e 0%, #8b4513 100%);
    --film-kodak: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    
    /* Dark theme with gradient accents */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --bg-card: rgba(30, 30, 30, 0.8);
    --bg-elevated: rgba(40, 40, 40, 0.9);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --text-muted: #808080;
    
    /* Glass effect with gradients */
    --glass-bg: rgba(25, 25, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* Enhanced shadows with color */
    --shadow-colored: 0 8px 32px rgba(102, 126, 234, 0.15);
    --shadow-glow: 0 0 40px rgba(79, 172, 254, 0.2);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-hard: 0 12px 40px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79, 172, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(240, 147, 251, 0.06) 0%, transparent 50%),
        var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}


/* Film perforations down each side */
body::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: 
        /* Subtle gradient overlay */
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.1) 0%, 
            rgba(40, 40, 60, 0.15) 25%, 
            rgba(60, 60, 80, 0.1) 50%, 
            rgba(40, 40, 60, 0.15) 75%, 
            rgba(0, 0, 0, 0.1) 100%
        ),
        /* Main square pattern */
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 15px,
            rgba(102, 126, 234, 0.4) 15px,
            rgba(102, 126, 234, 0.4) 65px,
            transparent 65px,
            transparent 80px
        );
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: 
        /* Subtle gradient overlay */
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.1) 0%, 
            rgba(40, 40, 60, 0.15) 25%, 
            rgba(60, 60, 80, 0.1) 50%, 
            rgba(40, 40, 60, 0.15) 75%, 
            rgba(0, 0, 0, 0.1) 100%
        ),
        /* Main square pattern */
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 15px,
            rgba(102, 126, 234, 0.4) 15px,
            rgba(102, 126, 234, 0.4) 65px,
            transparent 65px,
            transparent 80px
        );
    z-index: -1;
    pointer-events: none;
}

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

/* Container and layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Header */
.header {
    position: relative;
    padding: 4rem 0 6rem;
    text-align: center;
    overflow: visible;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0.1;
    /* animation: headerFlow 15s ease-in-out infinite; */
    border-radius: 50%;
}

/* Header animations disabled */

.logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 28px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 248, 248, 0.9) 100%);
    padding: 12px;
    box-shadow: 
        var(--shadow-colored),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    animation: logoFloat 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo:hover::before {
    opacity: 0.1;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-6px) rotate(1deg) scale(1.02);
    }
    50% { 
        transform: translateY(-8px) rotate(0deg) scale(1.03);
    }
    75% { 
        transform: translateY(-4px) rotate(-1deg) scale(1.02);
    }
}

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

.logo:hover {
    /* No movement on hover */
    box-shadow: 
        var(--shadow-glow),
        var(--shadow-colored);
}

.logo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: brightness(1) contrast(1);
        text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    }
    50% { 
        filter: brightness(1.1) contrast(1.1);
        text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.badge {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}

.badge:hover::before {
    left: 0;
}

.badge:hover {
    color: white;
    /* No movement on hover */
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

/* Header Navigation */
.header-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.nav-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.nav-btn:hover::before,
.nav-btn.active::before {
    left: 0;
}

.nav-btn:hover::after {
    width: 200px;
    height: 200px;
}

.nav-btn:hover,
.nav-btn.active {
    color: white;
    /* No movement on active */
    box-shadow: var(--shadow-glow);
    border-color: rgba(102, 126, 234, 0.6);
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 9999;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    border-radius: 0 0 15px 15px;
}

.sticky-header.visible {
    opacity: 1;
    visibility: visible;
}

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

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

.sticky-logo-img {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 248, 248, 0.9) 100%);
    border-radius: 10px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.sticky-logo-img:hover {
    /* No scaling on hover */
    box-shadow: var(--shadow-colored);
}

.sticky-logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sticky-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sticky-nav-btn {
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.sticky-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.sticky-nav-btn:hover::before,
.sticky-nav-btn.active::before {
    left: 0;
}

.sticky-nav-btn:hover,
.sticky-nav-btn.active {
    color: white;
    /* No scaling on active */
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 10000;
    position: relative;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Navigation */
.sticky-nav.mobile-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    z-index: 9999 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sticky-nav.mobile-open .sticky-nav-btn {
    font-size: 1.5rem !important;
    padding: 1rem 2rem !important;
    color: var(--text-primary) !important;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    min-width: 200px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.sticky-nav.mobile-open .sticky-nav-btn:hover {
    background: var(--primary-gradient) !important;
    color: white !important;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .sticky-nav {
        display: none;
    }
    
    .sticky-nav.mobile-open {
        display: flex;
    }
    
    .hamburger-btn {
        display: flex;
        z-index: 10000;
    }
    
    .header-nav .nav-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Main content */
.main {
    padding: 2rem 0;
    position: relative;
}

.section {
    margin-bottom: 3rem;
    scroll-margin-top: 120px;
}

/* Removed problematic section overlay */

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    opacity: 0.6;
}

.section-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 3.5rem 0 2rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
    margin-right: 0.5rem;
}

.section-icon i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

/* FontAwesome badge styling */
.badge i {
    margin-right: 0.5rem;
    opacity: 0.9;
}

/* FontAwesome in headings */
h4 i, h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Enhanced Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2.5rem;
    border: 1px solid var(--glass-border);
}

/* Removed problematic card overlays */

.card:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Removed rotating overlay */

.feature-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon img {
    /* No scaling on hover */
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.4));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Steps and Lists */
.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-item {
    counter-increment: step-counter;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 4.5rem;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInStep 0.8s ease forwards;
}

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

@keyframes slideInStep {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-gradient);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-colored);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: var(--shadow-colored);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: var(--shadow-glow);
    }
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Enhanced Tables */
.metadata-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-medium);
}

/* Mobile Table Container */
.mobile-table-container {
    display: none;
    margin: 2rem 0;
}

.mobile-table-item {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
    padding: 1rem;
}

.mobile-table-category {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-table-field {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mobile-table-standard {
    font-family: var(--font-mono);
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.mobile-table-description {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.metadata-table th,
.metadata-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

.metadata-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.metadata-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.6;
}

.metadata-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.metadata-table tr:last-child td {
    border-bottom: none;
}

.metadata-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.metadata-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.metadata-table tbody tr:nth-child(even):hover {
    background: rgba(102, 126, 234, 0.08);
}

/* Table cell content styling */
.metadata-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.metadata-table td:nth-child(3) {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    display: inline-block;
}

/* Enhanced Buttons */
.button {
    background: var(--primary-gradient);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.button::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;
}

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

.button:hover {
    /* No movement on hover */
    box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.1);
    }
}

/* Scroll animations - SIMPLIFIED */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

/* Loading animations - DISABLED */
.loading {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .header-nav {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        padding-left: 2.5rem;
    }

    /* Mobile table responsiveness - show mobile version, hide desktop */
    .desktop-table {
        display: none;
    }
    
    .mobile-table-container {
        display: block;
    }

    /* Fix other mobile overflow issues */
    .hero-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .code-block {
        font-size: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .step-item {
        padding-left: 2.5rem;
    }

    .step-item::before {
        width: 2rem;
        height: 2rem;
        left: 0;
        font-size: 0.8rem;
    }

    /* Ensure no horizontal overflow - GLOBAL FIX */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

* {
    max-width: 100vw !important;
}
    
    .section,
    .card,
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Force all text to wrap */
    p, div, span, li, td, th, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    /* Fix sticky header on mobile */
    .sticky-header {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    /* Fix text truncation and layout issues */
    .card {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }

    .feature-list li,
    .step-item {
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        line-height: 1.4;
        font-size: 0.9rem;
    }

    /* Fix footer issues */
    .footer {
        padding: 1rem;
        text-align: center;
        font-size: 0.8rem;
    }

    .footer p {
        margin: 0.3rem 0;
        word-wrap: break-word;
    }

    /* Ensure proper text wrapping */
    p, li, td, th {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Fix any garbled text issues */
    .container {
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* Additional mobile text fixes */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        word-wrap: break-word;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        word-wrap: break-word;
        text-align: center;
    }

    /* Center text elements for mobile */
    .section-title {
        text-align: center;
    }

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

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

    .step-item {
        text-align: center;
        padding-left: 0;
        padding-top: 0.5rem;
    }

    /* Center icons and numbers above headings on mobile */
    .section-icon {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    .step-item::before {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto 0.5rem auto;
        display: block;
        text-align: center;
    }

    .feature-icon {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    /* Remove cursor effects on mobile */
    .logo:hover {
        transform: none;
    }

    .badge:hover {
        transform: none;
    }

    .nav-btn:hover {
        transform: none;
    }

    .button:hover {
        transform: none;
    }

    /* Fix any potential font rendering issues */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    /* Ensure proper spacing for mobile */
    .main {
        padding: 0.5rem 0;
    }

    .section {
        margin-bottom: 1rem;
    }

    /* Reduce header padding */
    .header {
        padding: 2rem 0;
    }

    .hero-badges {
        margin: 1rem 0;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -2rem;
    right: -2rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* Make screenshot images look clickable and responsive */
img[src*="Main_Page.png"], 
img[src*="Camera_Manager.png"], 
img[src*="Lens_Manager.png"], 
img[src*="Film_Manager.png"] {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    display: block;
}

img[src*="Main_Page.png"]:hover, 
img[src*="Camera_Manager.png"]:hover, 
img[src*="Lens_Manager.png"]:hover, 
img[src*="Film_Manager.png"]:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* FontAwesome Icon Styling */
.feature-icon i,
.section-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feature-icon {
    margin-bottom: 1rem;
    text-align: center;
}

.section-icon {
    margin-right: 0.5rem;
    display: inline-block;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}
