/* Voodoo Matrix Homepage Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0f;
    color: white;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    padding: 20px 24px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-display-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-size: 14px;
}

.balance-label {
    color: rgba(203, 213, 225, 0.8);
    font-weight: 500;
}

.balance-amount {
    color: #14b8a6;
    font-weight: 700;
    font-size: 15px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.sign-in-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(20, 184, 166, 0.2) 100%);
    border: 1px solid rgba(102, 126, 234, 0.5);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
}

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

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

.sign-in-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(20, 184, 166, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    box-shadow: inset 0 0 100px 50px rgba(0, 0, 0, 0.6);
}

.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.hero-content-inner {
    background: rgba(13, 10, 21, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 50px;
    border-radius: 24px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(102, 126, 234, 0.2);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(20, 184, 166, 0.7));
    }
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(102, 126, 234, 0.8);
    border-bottom: 3px solid rgba(102, 126, 234, 0.8);
    transform: rotate(45deg);
}

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

/* Features Section */
.features-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    position: relative;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 24px;
    background: #0a0a0f;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.home-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: none;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
}

.waitlist-cta-button {
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.waitlist-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* Matrix Workflows Section */
.matrix-workflows-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(30, 58, 138, 0.95) 100%);
    border-top: 2px solid rgba(168, 85, 247, 0.8);
    position: relative;
}

.matrix-workflows-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.matrix-workflows-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.matrix-workflows-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.matrix-workflows-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.matrix-workflows-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-workflows-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Environmental Videos Section */
.environmental-videos-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 24px;
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 25, 60, 0.98) 50%, rgba(35, 15, 50, 0.98) 100%);
    border-top: 2px solid rgba(168, 85, 247, 0.8);
    position: relative;
    overflow: hidden;
}

.environmental-videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.environmental-videos-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.environmental-videos-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.environmental-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.environmental-video-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.environmental-video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.environmental-video-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.environmental-video-item:hover::before {
    opacity: 1;
}

.environmental-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.environmental-video-item:hover video {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 0;
    opacity: 0.3;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    padding: 18px 48px;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* Footer */
.footer {
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    text-align: center;
    background: #0a0a0f;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(102, 126, 234, 0.9);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
}

/* Waitlist Popup */
.waitlist-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.waitlist-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.waitlist-popup {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.waitlist-popup-overlay.active .waitlist-popup {
    transform: scale(1);
}

.waitlist-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.waitlist-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.waitlist-popup-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

.waitlist-popup-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.6;
}

.waitlist-popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-popup-input {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.waitlist-popup-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.waitlist-popup-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-popup-submit {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.waitlist-popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.waitlist-popup-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.waitlist-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    cursor: pointer;
}

.waitlist-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.waitlist-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.waitlist-message.success {
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.5);
    color: #14b8a6;
}

.waitlist-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.waitlist-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Sidebar Styles */
.app-sidebar {
    position: fixed;
    right: 0;
    top: 80px;
    width: 80px;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 6px;
    gap: 10px;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5), -2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar-icon {
    width: 100%;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 4px;
    overflow: hidden;
}

.sidebar-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(102, 126, 234, 0.3),
        rgba(20, 184, 166, 0.3),
        rgba(102, 126, 234, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 0;
}

.sidebar-icon:hover::before {
    left: 100%;
}

.sidebar-icon-svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar-icon-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar-icon:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(20, 184, 166, 0.2),
        inset 0 0 20px rgba(102, 126, 234, 0.1);
    color: white;
}

.sidebar-icon:hover .sidebar-icon-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
}

.sidebar-icon:hover .sidebar-icon-label {
    color: white;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.sidebar-icon.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 0 25px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(20, 184, 166, 0.3),
        inset 0 0 20px rgba(102, 126, 234, 0.15);
    color: white;
}

.sidebar-icon.active .sidebar-icon-svg {
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.8));
}

.sidebar-icon.active .sidebar-icon-label {
    color: white;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.sidebar-icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    font-size: 14px;
    color: white;
    z-index: 1000;
    pointer-events: none;
    font-weight: 500;
}


/* Adjust main content when sidebar is present */
body.has-sidebar .hero,
body.has-sidebar .admin-section,
body.has-sidebar .dashboard-section,
body.has-sidebar .account-section,
body.has-sidebar .billing-section,
body.has-sidebar main {
    margin-right: 80px;
}

/* Hide sidebar on non-authenticated pages */
body.no-sidebar .app-sidebar {
    display: none;
}

/* Ensure no right margin on non-sidebar pages */
body.no-sidebar .hero,
body.no-sidebar .admin-section,
body.no-sidebar .dashboard-section,
body.no-sidebar .account-section,
body.no-sidebar .billing-section,
body.no-sidebar main {
    margin-right: 0;
}

/* Footer Styles */
.app-footer {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 24px 40px;
    margin-top: 80px;
    position: relative;
    z-index: 100;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .logo {
        font-size: 24px;
    }

    .sign-in-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .app-sidebar {
        width: 70px;
        top: 72px;
        padding: 12px 4px;
    }
    
    .sidebar-icon {
        min-height: 48px;
        padding: 6px 3px;
        gap: 4px;
    }
    
    .sidebar-icon-svg {
        width: 14px;
        height: 14px;
    }
    
    .sidebar-icon-label {
        font-size: 8px;
        letter-spacing: 0.4px;
    }
    
    body.has-sidebar .hero,
    body.has-sidebar .admin-section,
    body.has-sidebar .dashboard-section,
    body.has-sidebar .account-section,
    body.has-sidebar .billing-section,
    body.has-sidebar main {
        margin-right: 70px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 90vh;
    }

    .hero-content-inner {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 32px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text {
        font-size: 16px;
    }

    .matrix-workflows-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .matrix-workflows-title {
        font-size: 32px;
    }

    .environmental-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .environmental-videos-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-description {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .environmental-videos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .environmental-videos-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .waitlist-popup {
        padding: 30px 20px;
    }
}

