/* ========================================================================
   NEURAL LABS PAGE STYLES
   Theme: Purple (#6E56CF) with 3D aesthetic - Premium and Consistent
   ======================================================================== */

/* Override for main to account for header */
main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--wide {
    max-width: 1400px;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.neural-labs-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, 
        rgba(10, 10, 11, 0.95) 0%,
        rgba(110, 86, 207, 0.05) 50%,
        rgba(10, 10, 11, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.neural-labs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(110, 86, 207, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 86, 207, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

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

.hero-title {
    max-width: 1100px;
    margin-bottom: 1.5rem;
}

.hero-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(110, 86, 207, 0.15), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(110, 86, 207, 0.3);
    border-radius: 8px;
    width: fit-content;
    position: relative;
}

.hero-heading {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 200;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #a855f7 50%, #6E56CF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: #8B5CF6;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 1000px;
    margin-bottom: 1.5rem;
}

.hero-promise {
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(110, 86, 207, 0.3);
    margin-top: 1rem;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.neural-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: 2px solid;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neural-btn--primary {
    background: linear-gradient(135deg, #6E56CF, #8B5CF6);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(110, 86, 207, 0.3);
}

.neural-btn--secondary {
    background: rgba(110, 86, 207, 0.1);
    border-color: rgba(110, 86, 207, 0.5);
    color: #ffffff;
}

.neural-btn--primary:hover {
    background: linear-gradient(135deg, #8B5CF6, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(110, 86, 207, 0.4);
}

.neural-btn--secondary:hover {
    background: rgba(110, 86, 207, 0.15);
    border-color: rgba(110, 86, 207, 0.8);
    box-shadow: 0 4px 20px rgba(110, 86, 207, 0.2);
}

.neural-btn--lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* ========================================================================
   WHAT IS LABS SECTION
   ======================================================================== */

.what-is-labs-section {
    padding: 120px 40px;
    background: #0A0A0B;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    padding: 40px;
    background: linear-gradient(135deg, rgba(110, 86, 207, 0.05), rgba(20, 20, 22, 0.6));
    border: 1px solid rgba(110, 86, 207, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6E56CF, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(110, 86, 207, 0.4);
    box-shadow: 0 20px 40px rgba(110, 86, 207, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #8B5CF6;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================================================
   SERVICE AREAS SECTION
   ======================================================================== */

.service-areas-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #0A0A0B 0%, #000000 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    padding: 48px;
    background: rgba(20, 20, 22, 0.8);
    border: 1px solid rgba(110, 86, 207, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6E56CF, #8B5CF6, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(110, 86, 207, 0.4);
    box-shadow: 0 30px 60px rgba(110, 86, 207, 0.25);
    background: rgba(110, 86, 207, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #6E56CF, #8B5CF6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 1rem;
    color: #8B5CF6;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

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

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B5CF6;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #a855f7;
    gap: 12px;
}

/* ========================================================================
   METHOD SECTION
   ======================================================================== */

.method-section {
    padding: 120px 40px;
    background: #000000;
    position: relative;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.method-step {
    text-align: center;
    padding: 32px;
    background: rgba(110, 86, 207, 0.03);
    border: 1px solid rgba(110, 86, 207, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.method-step:hover {
    background: rgba(110, 86, 207, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(110, 86, 207, 0.15);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #6E56CF, #8B5CF6);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================================================
   VALUE GRID SECTION - Modern Marketers Value Cards
   ======================================================================== */

.value-section {
    padding: 120px 40px;
    background: #0A0A0B;
}

.value-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    padding: 32px;
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid rgba(110, 86, 207, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6E56CF, #8B5CF6, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 86, 207, 0.3);
    box-shadow: 0 20px 40px rgba(110, 86, 207, 0.15);
    background: rgba(110, 86, 207, 0.03);
}

.value-item:hover::before {
    transform: translateX(100%);
}

.value-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.value-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================================================
   USE CASES SECTION - When to Use Neural Labs
   ======================================================================== */

.use-cases-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #000000 0%, #0A0A0B 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case {
    padding: 40px;
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid rgba(110, 86, 207, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.use-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6E56CF, #8B5CF6, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.use-case:hover {
    transform: translateY(-6px);
    border-color: rgba(110, 86, 207, 0.3);
    box-shadow: 0 30px 50px rgba(110, 86, 207, 0.2);
    background: rgba(110, 86, 207, 0.05);
}

.use-case:hover::before {
    transform: translateX(100%);
}

.use-case-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.use-case-tagline {
    font-size: 0.875rem;
    font-weight: 500;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.use-case-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.use-case-outcome {
    margin-top: 24px;
    padding: 16px;
    background: rgba(110, 86, 207, 0.08);
    border-left: 3px solid #8B5CF6;
    border-radius: 4px;
}

.outcome-label {
    font-size: 0.875rem;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.outcome-value {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================================================
   CTA SECTION
   ======================================================================== */

.cta-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, #000000, rgba(110, 86, 207, 0.1));
    position: relative;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

/* ========================================================================
   BACKGROUND VIDEO STYLES
   ======================================================================== */

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(110, 86, 207, 0.1) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: -1;
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .method-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-heading {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .neural-labs-hero {
        padding: 60px 30px;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .value-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .method-steps {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .neural-labs-hero {
        padding: 40px 20px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .neural-btn {
        width: 100%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .benefits-grid {
        gap: 24px;
    }
    
    .benefit-card {
        padding: 24px;
    }
}